Browse Source

修改问题审核人和审核时间

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
e1db6b0630
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/confirm/InspectionFileConfirmService.java
  2. +2
    -0
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml

+ 2
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/confirm/InspectionFileConfirmService.java View File

@@ -93,6 +93,8 @@ public class InspectionFileConfirmService {
map.put("status", InspectionFileStatusEnum.CONFIRMED.getCode());
map.put("updateUser", userId);
map.put("updateTime", DateUtils.now());
map.put("checkUser", userId);
map.put("checkTime", DateUtils.now());
map.put("idList", idList);

Integer rowCount = inspectionFileMapper.updateByIdList(map);

+ 2
- 0
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml View File

@@ -252,6 +252,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null"> status = #{status}, </if>
<if test="updateUser != null and updateUser != ''"> update_user = #{updateUser}, </if>
<if test="updateTime != null"> update_time = #{updateTime}, </if>
<if test="checkUser != null and checkUser != ''"> check_user = #{checkUser}, </if>
<if test="checkTime != null"> check_time = #{checkTime}, </if>
</trim>
<where>
<if test="idList != null and idList.size() > 0">

Loading…
Cancel
Save