Browse Source

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into feature_v1.0

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
bdd217366b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByWorkOrderIdService.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByWorkOrderIdService.java View File

inspectionFileHandleVo.setLongitude(inspectionFile.getLongitude()); inspectionFileHandleVo.setLongitude(inspectionFile.getLongitude());
inspectionFileHandleVo.setLocation(inspectionFile.getLocation()); inspectionFileHandleVo.setLocation(inspectionFile.getLocation());
inspectionFileHandleVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail()); inspectionFileHandleVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail());
inspectionFileHandleVo.setFileOriginal(CommonConfig.imageURL + inspectionFile.getFileOriginal());
questionType = questionTypeMap.get(inspectionFile.getQuestionCode()); questionType = questionTypeMap.get(inspectionFile.getQuestionCode());
if (null != questionType) { if (null != questionType) {
inspectionFileHandleVo.setQuestionCode(questionType.getCode()); inspectionFileHandleVo.setQuestionCode(questionType.getCode());

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml View File

<if test="request.status != null and request.status != ''"> and status = #{request.status} </if> <if test="request.status != null and request.status != ''"> and status = #{request.status} </if>
<if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if> <if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if>
<if test="request.deptIdList != null and request.deptIdList.size() > 0"> <if test="request.deptIdList != null and request.deptIdList.size() > 0">
and dept_id in
or dept_id in
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")"> <foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")">
#{deptId} #{deptId}
</foreach> </foreach>

Loading…
Cancel
Save