修改需求
This commit is contained in:
parent
303ca75743
commit
f9dbd1956d
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user