From 8b3cdbd7539cb2427f2a5b4263037ee8098afa75 Mon Sep 17 00:00:00 2001 From: ANDRU-PC\Andru <769883346@qq.com> Date: 星期一, 13 十二月 2021 15:29:43 +0800 Subject: [PATCH] 新增划扣添加字段 --- phi_platform_common/src/main/resources/mapper/DeductionProjectMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phi_platform_common/src/main/resources/mapper/DeductionProjectMapper.xml b/phi_platform_common/src/main/resources/mapper/DeductionProjectMapper.xml index 53f4a0d..5c8b2f4 100644 --- a/phi_platform_common/src/main/resources/mapper/DeductionProjectMapper.xml +++ b/phi_platform_common/src/main/resources/mapper/DeductionProjectMapper.xml @@ -8,7 +8,7 @@ <!-- 鏁翠釜瀹炰綋绫讳慨鏀癸紝琛ㄥ瓧娈�=瀹炰綋绫诲瓧娈�--> <sql id="Update_Column_All"> <trim prefixOverrides=","> - ,projectNo = #{projectNo},projectName = #{projectName},price = #{price},num = #{num},shopId = #{shopId},shopName = #{shopName},departmentCode = #{departmentCode},departmentName = #{departmentName},specification = #{specification},useDuration = #{useDuration},palsyDuration = #{palsyDuration},projectId = #{projectId},deductionSingleId = #{deductionSingleId},executeStartTime = #{executeStartTime},executeEndTime = #{executeEndTime},remarkInfo = #{remarkInfo},isDel = #{isDel},createTime = #{createTime} + ,projectNo = #{projectNo},projectName = #{projectName},projectFrequency = #{projectFrequency},price = #{price},num = #{num},shopId = #{shopId},shopName = #{shopName},departmentCode = #{departmentCode},departmentName = #{departmentName},specification = #{specification},useDuration = #{useDuration},palsyDuration = #{palsyDuration},projectId = #{projectId},deductionSingleId = #{deductionSingleId},executeStartTime = #{executeStartTime},executeEndTime = #{executeEndTime},remarkInfo = #{remarkInfo},isDel = #{isDel},createTime = #{createTime} </trim> </sql> @@ -19,7 +19,7 @@ <selectKey keyProperty="id" resultType="String" order="BEFORE"> select replace(uuid(),'-','') from dual </selectKey> - insert into deduction_project (id,projectNo,projectName,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime) values (#{id},#{projectNo},#{projectName},#{price},#{num},#{shopId},#{shopName},#{departmentCode},#{departmentName},#{specification},#{useDuration},#{palsyDuration},#{projectId},#{deductionSingleId},#{executeStartTime},#{executeEndTime},#{remarkInfo},#{isDel},#{createTime}) + insert into deduction_project (id,projectNo,projectName,projectFrequency,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime) values (#{id},#{projectNo},#{projectName},#{projectFrequency},#{price},#{num},#{shopId},#{shopName},#{departmentCode},#{departmentName},#{specification},#{useDuration},#{palsyDuration},#{projectId},#{deductionSingleId},#{executeStartTime},#{executeEndTime},#{remarkInfo},#{isDel},#{createTime}) </insert> <select id="selectList" resultType="com.hx.phiappt.model.deduction.DeductionProject" parameterType="com.hx.mybatisTool.SqlSentence" > @@ -51,14 +51,14 @@ <select id="selectOneByKey" resultType="com.hx.phiappt.model.deduction.DeductionProject" parameterType="java.lang.Object" > select - id,projectNo,projectName,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime + id,projectNo,projectName,projectFrequency,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime from deduction_project WHERE id = #{value} </select> <select id="selectOneByKeyBlob" resultType="com.hx.phiappt.model.deduction.DeductionProject" parameterType="java.lang.Object" > select - id,projectNo,projectName,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime + id,projectNo,projectName,projectFrequency,price,num,shopId,shopName,departmentCode,departmentName,specification,useDuration,palsyDuration,projectId,deductionSingleId,executeStartTime,executeEndTime,remarkInfo,isDel,createTime from deduction_project WHERE id = #{value} </select> -- Gitblit v1.8.0