Browse Source

fix: 工作票添加站点机构筛选条件

zhongwei
haungxing 4 months ago
parent
commit
deec08f8f4
  1. 2
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/WorkTicketInfoServiceImpl.java

2
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/WorkTicketInfoServiceImpl.java

@ -271,7 +271,7 @@ public class WorkTicketInfoServiceImpl extends ServiceImpl<WorkTicketInfoMapper,
if (Func.isNotEmpty(req.getStationDeptId())) {
R<Dept> deptR = sysClient.getDept(req.getStationDeptId());
if(deptR.isSuccess() && Func.isNotEmpty(deptR.getData()) && Func.isNotEmpty(deptR.getData().getStationId())) {
lqw.eq(WorkTicketInfoEntity::getSignage,deptR.getData().getStationId());
lqw.eq(WorkTicketInfoEntity::getSignageCode,deptR.getData().getStationId());
}
else {
lqw.eq(WorkTicketInfoEntity::getCreateDept,req.getStationDeptId());

Loading…
Cancel
Save