Commit 2563f78eb78264839761ee7237e26e2d8a1e843a
1 parent
695549eb
fix: 修复没有备注bug和修复驾驶员查询条件不生效bug
Showing
3 changed files
with
5 additions
and
1 deletions
Bsth-admin/src/main/java/com/ruoyi/job/DriverJob.java
Bsth-admin/src/main/java/com/ruoyi/service/SchedulingService.java
| ... | ... | @@ -148,6 +148,9 @@ public class SchedulingService { |
| 148 | 148 | } else { |
| 149 | 149 | sb.append("迟到"); |
| 150 | 150 | } |
| 151 | + // 在规定时间就还原remark | |
| 152 | + }else { | |
| 153 | + sb.append(signIn.getRemark()); | |
| 151 | 154 | } |
| 152 | 155 | if (SIGN_ALCOHOL_EX_NUM.equals(signIn.getExType())) { |
| 153 | 156 | sb.append("," + signIn.getRemark().substring(signIn.getRemark().indexOf(ALCOHOL_SIGN_IN_ERROR))); | ... | ... |
Bsth-admin/src/main/resources/mapper/driver/DriverMapper.xml
| ... | ... | @@ -111,7 +111,7 @@ |
| 111 | 111 | <if test="tagRfid != null and tagRfid != ''">and driver.tag_rfid = #{tagRfid}</if> |
| 112 | 112 | <if test="lineName != null and lineName != ''">and driver.line_name like concat('%', #{lineName}, '%')</if> |
| 113 | 113 | <if test="lineCode != null and lineCode != ''">and driver.line_code = #{lineCode}</if> |
| 114 | - <if test="faceSignIn != null and faceSignIn != ''">and driver.face_sign_in = #{faceSignIn}</if> | |
| 114 | + <if test="faceSignIn != null ">and driver.face_sign_in = #{faceSignIn}</if> | |
| 115 | 115 | <if test="fleetName != null and fleet_name != ''">and driver.fleet_name = #{fleetName}</if> |
| 116 | 116 | </where> |
| 117 | 117 | </select> | ... | ... |