Browse Source

opt:一键移库代码优化测试

master
DESKTOP-5DIJMF9\admin 3 months ago
parent
commit
3356c2fa8e
  1. 5
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml
  2. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task/service/impl/SchBaseTaskServiceImpl.java
  3. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java
  4. 2
      lms/nladmin-ui/src/views/wms/sch/movestor/index.vue

5
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml

@ -170,11 +170,12 @@
AND P.vehicle_code2 NOT LIKE '%YBHC%'
AND (p.ing_task_code IS NULL or p.ing_task_code = '')
AND p.region_code IN ( 'YLHC' )) a
WHERE 1=1
<if test="query.point_code != null">
and a.point_code like CONCAT('%', #{query.point_code}, '%')
and a.pointCode = #{query.point_code}
</if>
<if test="query.status != null">
and a.status = #{query.point_code}
and a.status = #{query.status}
</if>
ORDER BY a.pointCode ASC
</select>

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task/service/impl/SchBaseTaskServiceImpl.java

@ -290,6 +290,8 @@ public class SchBaseTaskServiceImpl extends ServiceImpl<SchBaseTaskMapper, SchBa
.eq(SchBasePoint::getIs_used, true)
.eq(SchBasePoint::getRegion_code, "YLHC")
.notLike(SchBasePoint::getVehicle_code2, "YBHC")
.isNotNull(SchBasePoint::getVehicle_code2)
.ne(SchBasePoint::getVehicle_code2, "")
.and(slam -> slam.isNull(SchBasePoint::getIng_task_code)
.or()
.eq(SchBasePoint::getIng_task_code, "")

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/workorder/service/impl/WorkorderServiceImpl.java

@ -155,6 +155,8 @@ public class WorkorderServiceImpl extends ServiceImpl<WorkorderMapper, Workorder
.eq(SchBasePoint::getIs_used, true)
.eq(SchBasePoint::getRegion_code, "YLHC")
.eq(SchBasePoint::getPoint_code, pointCode)
.isNotNull(SchBasePoint::getVehicle_code2)
.ne(SchBasePoint::getVehicle_code2, "")
.notLike(SchBasePoint::getVehicle_code2, "YBHC")
.and(slam -> slam.isNull(SchBasePoint::getIng_task_code)
.or()

2
lms/nladmin-ui/src/views/wms/sch/movestor/index.vue

@ -115,7 +115,7 @@ export default {
download: false,
reset: false
},
query: {}
query: {status:'0'}
})
},
data() {

Loading…
Cancel
Save