Commit 62e6c99dd57dfe50ed626ee198b8929f3e4a4598
1 parent
fc9bdd55
feat: 修复更新人脸数据失败问题
Showing
2 changed files
with
7 additions
and
0 deletions
ruoyi-admin/src/main/java/com/ruoyi/pojo/vo/DriverRequestVo.java
ruoyi-admin/src/main/resources/mapper/driver/DriverMapper.xml
| ... | ... | @@ -309,6 +309,9 @@ |
| 309 | 309 | <update id="updateSignStatusDriversByJobCodes"> |
| 310 | 310 | <foreach collection="list" item="item" separator=";"> |
| 311 | 311 | update driver set face_sign_in = 1,update_time = #{item.updateTime} |
| 312 | + <if test="item.image != null and item.image != ''"> | |
| 313 | + ,image = #{item.image} | |
| 314 | + </if> | |
| 312 | 315 | where job_code = #{item.jobCode,jdbcType=VARCHAR} |
| 313 | 316 | </foreach> |
| 314 | 317 | </update> | ... | ... |