修改需求

This commit is contained in:
liuxi 2021-06-18 18:45:15 +08:00
parent 303ca75743
commit f9dbd1956d
3 changed files with 918 additions and 907 deletions

View File

@ -37,6 +37,6 @@ public interface ProjectMapper extends MyMapper<Project> {
* @param status * @param status
* @return * @return
*/ */
public void updateProjectStatus(String id, String contractno, int status, String endTime); public void updateProjectStatus(String setuptime,String id, String contractno, int status, String updatetime);
} }

View File

@ -147,7 +147,10 @@
<if test="contractno != null and contractno != ''"> <if test="contractno != null and contractno != ''">
_contractno = #{contractno}, _contractno = #{contractno},
</if> </if>
<if test="endTime != null and endTime != ''"> <if test="setuptime != null and setuptime != ''">
_end_time = NULL,
</if>
<if test="updatetime != null and updatetime != ''">
_end_time = NOW(), _end_time = NOW(),
</if> </if>
_status = #{status} where id = #{id} _status = #{status} where id = #{id}