|
@@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="jsdw" column="jsdw" />
|
|
|
<result property="jsDeptId" column="js_dept_id" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
|
+ <result property="deptName" column="dept_name" />
|
|
|
<result property="userId" column="user_id" />
|
|
|
<result property="kgsj" column="kgsj" />
|
|
|
<result property="ntsj" column="ntsj" />
|
|
@@ -38,10 +39,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="remark" column="remark" />
|
|
|
+ <result property="psnr" column="psnr"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFgwXmsbVo">
|
|
|
- select id, xmmc, xmbh, xmdw, qtzrdw, qtsld, gmnr, jhkgsj, xmztz, sjbz, sczbj, zxz, ppp, rz, ndjh, sjbzzjqd, rzqd, dq, jsdw, js_dept_id, dept_id, user_id, kgsj, ntsj, ntxmtc, type, progress, status, create_by, create_time, update_by, update_time, remark from fgw_xmsb
|
|
|
+ select id, xmmc, xmbh, xmdw, qtzrdw, qtsld, gmnr, jhkgsj, xmztz, sjbz, sczbj, zxz, ppp, rz, ndjh, sjbzzjqd, rzqd, dq, jsdw, js_dept_id, dept_id,deptName, user_id, kgsj, ntsj, ntxmtc, type, progress, status, create_by, create_time, update_by, update_time, remark,psnr from fgw_xmsb
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFgwXmsbList" parameterType="FgwXmsb" resultMap="FgwXmsbResult">
|
|
@@ -67,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jsdw != null and jsdw != ''"> and jsdw = #{jsdw}</if>
|
|
|
<if test="jsDeptId != null "> and js_dept_id = #{jsDeptId}</if>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
+ <if test="deptName != null "> and dept_name = #{deptName}</if>
|
|
|
<if test="userId != null "> and user_id = #{userId}</if>
|
|
|
<if test="kgsj != null "> and kgsj = #{kgsj}</if>
|
|
|
<if test="ntsj != null "> and ntsj = #{ntsj}</if>
|
|
@@ -117,6 +120,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jsdw != null">jsdw,</if>
|
|
|
<if test="jsDeptId != null">js_dept_id,</if>
|
|
|
<if test="deptId != null">dept_id,</if>
|
|
|
+ <if test="deptName != null">dept_name,</if>
|
|
|
<if test="userId != null">user_id,</if>
|
|
|
<if test="kgsj != null">kgsj,</if>
|
|
|
<if test="ntsj != null">ntsj,</if>
|
|
@@ -129,6 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
+ <if test="psnr != null">psnr,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="xmmc != null">#{xmmc},</if>
|
|
@@ -151,6 +156,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jsdw != null">#{jsdw},</if>
|
|
|
<if test="jsDeptId != null">#{jsDeptId},</if>
|
|
|
<if test="deptId != null">#{deptId},</if>
|
|
|
+ <if test="deptName != null">#{deptName},</if>
|
|
|
<if test="userId != null">#{userId},</if>
|
|
|
<if test="kgsj != null">#{kgsj},</if>
|
|
|
<if test="ntsj != null">#{ntsj},</if>
|
|
@@ -163,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
+ <if test="psnr != null">#{psnr},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -189,6 +196,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jsdw != null">jsdw = #{jsdw},</if>
|
|
|
<if test="jsDeptId != null">js_dept_id = #{jsDeptId},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
+ <if test="deptName != null">dept_name = #{deptName},</if>
|
|
|
<if test="userId != null">user_id = #{userId},</if>
|
|
|
<if test="kgsj != null">kgsj = #{kgsj},</if>
|
|
|
<if test="ntsj != null">ntsj = #{ntsj},</if>
|
|
@@ -201,6 +209,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
+ <if test="psnr != null">psnr = #{psnr},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|