|
|
|
@ -16,10 +16,11 @@
|
|
|
|
<result property="content" column="content" />
|
|
|
|
<result property="content" column="content" />
|
|
|
|
<result property="zfStatus" column="zf_status" />
|
|
|
|
<result property="zfStatus" column="zf_status" />
|
|
|
|
<result property="shRemark" column="sh_remark" />
|
|
|
|
<result property="shRemark" column="sh_remark" />
|
|
|
|
|
|
|
|
<result property="auditDeptid" column="audit_deptid" />
|
|
|
|
|
|
|
|
<result property="auditDept" column="audit_dept" />
|
|
|
|
<result property="auditName" column="audit_name" />
|
|
|
|
<result property="auditName" column="audit_name" />
|
|
|
|
<result property="auditResult" column="audit_result" />
|
|
|
|
<result property="auditResult" column="audit_result" />
|
|
|
|
<result property="auditReason" column="audit_reason" />
|
|
|
|
<result property="auditReason" column="audit_reason" />
|
|
|
|
<result property="auditDeptid" column="audit_deptid" />
|
|
|
|
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
@ -30,7 +31,7 @@
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectSzxcButieVo">
|
|
|
|
<sql id="selectSzxcButieVo">
|
|
|
|
select id, type, xm_title, xm_id, year, money, jm_id, name, content, zf_status, sh_remark, audit_name, audit_result, audit_reason, audit_deptid, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_butie
|
|
|
|
select id, type, xm_title, xm_id, year, money, jm_id, name, content, zf_status, sh_remark, audit_deptid, audit_dept, audit_name, audit_result, audit_reason, create_by, create_time, update_by, update_time, dept_id, dept_name, user_id from szxc_butie
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectSzxcButieList" parameterType="SzxcButie" resultMap="SzxcButieResult">
|
|
|
|
<select id="selectSzxcButieList" parameterType="SzxcButie" resultMap="SzxcButieResult">
|
|
|
|
@ -46,10 +47,11 @@
|
|
|
|
<if test="content != null and content != ''"> and content = #{content}</if>
|
|
|
|
<if test="content != null and content != ''"> and content = #{content}</if>
|
|
|
|
<if test="zfStatus != null and zfStatus != ''"> and zf_status = #{zfStatus}</if>
|
|
|
|
<if test="zfStatus != null and zfStatus != ''"> and zf_status = #{zfStatus}</if>
|
|
|
|
<if test="shRemark != null and shRemark != ''"> and sh_remark = #{shRemark}</if>
|
|
|
|
<if test="shRemark != null and shRemark != ''"> and sh_remark = #{shRemark}</if>
|
|
|
|
|
|
|
|
<if test="auditDeptid != null "> and audit_deptid = #{auditDeptid}</if>
|
|
|
|
|
|
|
|
<if test="auditDept != null and auditDept != ''"> and audit_dept = #{auditDept}</if>
|
|
|
|
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
|
|
|
|
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
|
|
|
|
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
|
|
|
|
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
|
|
|
|
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
|
|
|
|
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
|
|
|
|
<if test="auditDeptid != null "> and audit_deptid = #{auditDeptid}</if>
|
|
|
|
|
|
|
|
<!-- <if test="deptId != null "> and dept_id = #{deptId}</if>-->
|
|
|
|
<!-- <if test="deptId != null "> and dept_id = #{deptId}</if>-->
|
|
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
|
|
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
|
|
|
|
<if test="userId != null "> and user_id = #{userId}</if>
|
|
|
|
<if test="userId != null "> and user_id = #{userId}</if>
|
|
|
|
@ -78,10 +80,11 @@
|
|
|
|
<if test="content != null">content,</if>
|
|
|
|
<if test="content != null">content,</if>
|
|
|
|
<if test="zfStatus != null">zf_status,</if>
|
|
|
|
<if test="zfStatus != null">zf_status,</if>
|
|
|
|
<if test="shRemark != null">sh_remark,</if>
|
|
|
|
<if test="shRemark != null">sh_remark,</if>
|
|
|
|
|
|
|
|
<if test="auditDeptid != null">audit_deptid,</if>
|
|
|
|
|
|
|
|
<if test="auditDept != null">audit_dept,</if>
|
|
|
|
<if test="auditName != null">audit_name,</if>
|
|
|
|
<if test="auditName != null">audit_name,</if>
|
|
|
|
<if test="auditResult != null">audit_result,</if>
|
|
|
|
<if test="auditResult != null">audit_result,</if>
|
|
|
|
<if test="auditReason != null">audit_reason,</if>
|
|
|
|
<if test="auditReason != null">audit_reason,</if>
|
|
|
|
<if test="auditDeptid != null">audit_deptid,</if>
|
|
|
|
|
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
@ -101,10 +104,11 @@
|
|
|
|
<if test="content != null">#{content},</if>
|
|
|
|
<if test="content != null">#{content},</if>
|
|
|
|
<if test="zfStatus != null">#{zfStatus},</if>
|
|
|
|
<if test="zfStatus != null">#{zfStatus},</if>
|
|
|
|
<if test="shRemark != null">#{shRemark},</if>
|
|
|
|
<if test="shRemark != null">#{shRemark},</if>
|
|
|
|
|
|
|
|
<if test="auditDeptid != null">#{auditDeptid},</if>
|
|
|
|
|
|
|
|
<if test="auditDept != null">#{auditDept},</if>
|
|
|
|
<if test="auditName != null">#{auditName},</if>
|
|
|
|
<if test="auditName != null">#{auditName},</if>
|
|
|
|
<if test="auditResult != null">#{auditResult},</if>
|
|
|
|
<if test="auditResult != null">#{auditResult},</if>
|
|
|
|
<if test="auditReason != null">#{auditReason},</if>
|
|
|
|
<if test="auditReason != null">#{auditReason},</if>
|
|
|
|
<if test="auditDeptid != null">#{auditDeptid},</if>
|
|
|
|
|
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
@ -128,10 +132,11 @@
|
|
|
|
<if test="content != null">content = #{content},</if>
|
|
|
|
<if test="content != null">content = #{content},</if>
|
|
|
|
<if test="zfStatus != null">zf_status = #{zfStatus},</if>
|
|
|
|
<if test="zfStatus != null">zf_status = #{zfStatus},</if>
|
|
|
|
<if test="shRemark != null">sh_remark = #{shRemark},</if>
|
|
|
|
<if test="shRemark != null">sh_remark = #{shRemark},</if>
|
|
|
|
|
|
|
|
<if test="auditDeptid != null">audit_deptid = #{auditDeptid},</if>
|
|
|
|
|
|
|
|
<if test="auditDept != null">audit_dept = #{auditDept},</if>
|
|
|
|
<if test="auditName != null">audit_name = #{auditName},</if>
|
|
|
|
<if test="auditName != null">audit_name = #{auditName},</if>
|
|
|
|
<if test="auditResult != null">audit_result = #{auditResult},</if>
|
|
|
|
<if test="auditResult != null">audit_result = #{auditResult},</if>
|
|
|
|
<if test="auditReason != null">audit_reason = #{auditReason},</if>
|
|
|
|
<if test="auditReason != null">audit_reason = #{auditReason},</if>
|
|
|
|
<if test="auditDeptid != null">audit_deptid = #{auditDeptid},</if>
|
|
|
|
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
|