|
@@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="fileUrls" column="file_urls" />
|
|
|
<result property="status" column="status" />
|
|
|
<result property="creattime" column="creattime" />
|
|
|
- <result property="endtime" column="endtime" />
|
|
|
+ <result property="enddate" column="enddate" />
|
|
|
<result property="processId" column="process_id" />
|
|
|
<result property="apNo" column="ap_no" />
|
|
|
<result property="reportId" column="report_id" />
|
|
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTApproveMaintenanceVo">
|
|
|
- select d.id, d.user_id, d.dev_id, d.dev_type, d.approve_type, d.content, d.file_urls, d.status, d.creattime, d.endtime, d.process_id, d.ap_no, d.report_id, d.month_id, d.del_flag, d.dept_id ,s.dept_name from t_approve_maintenance d
|
|
|
+ select d.id, d.user_id, d.dev_id, d.dev_type, d.approve_type, d.content, d.file_urls, d.status, d.creattime, d.enddate, d.process_id, d.ap_no, d.report_id, d.month_id, d.del_flag, d.dept_id ,s.dept_name from t_approve_maintenance d
|
|
|
left join sys_dept s on s.dept_id = d.dept_id
|
|
|
</sql>
|
|
|
|
|
@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fileUrls != null and fileUrls != ''"> and file_urls = #{fileUrls}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="creattime != null "> and creattime = #{creattime}</if>
|
|
|
- <if test="endtime != null "> and endtime = #{endtime}</if>
|
|
|
+ <if test="enddate != null "> and enddate = #{enddate}</if>
|
|
|
<if test="processId != null and processId != ''"> and process_id = #{processId}</if>
|
|
|
<if test="apNo != null and apNo != ''"> and ap_no = #{apNo}</if>
|
|
|
<if test="reportId != null and reportId != ''"> and report_id = #{reportId}</if>
|
|
@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fileUrls != null">file_urls,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="creattime != null">creattime,</if>
|
|
|
- <if test="endtime != null">endtime,</if>
|
|
|
+ <if test="enddate != null">enddate,</if>
|
|
|
<if test="processId != null">process_id,</if>
|
|
|
<if test="apNo != null">ap_no,</if>
|
|
|
<if test="reportId != null">report_id,</if>
|
|
@@ -90,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fileUrls != null">#{fileUrls},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="creattime != null">#{creattime},</if>
|
|
|
- <if test="endtime != null">#{endtime},</if>
|
|
|
+ <if test="enddate != null">#{enddate},</if>
|
|
|
<if test="processId != null">#{processId},</if>
|
|
|
<if test="apNo != null">#{apNo},</if>
|
|
|
<if test="reportId != null">#{reportId},</if>
|
|
@@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fileUrls != null">file_urls = #{fileUrls},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="creattime != null">creattime = #{creattime},</if>
|
|
|
- <if test="endtime != null">endtime = #{endtime},</if>
|
|
|
+ <if test="enddate != null">enddate = #{enddate},</if>
|
|
|
<if test="processId != null">process_id = #{processId},</if>
|
|
|
<if test="apNo != null">ap_no = #{apNo},</if>
|
|
|
<if test="reportId != null">report_id = #{reportId},</if>
|