9/118 现场管理工位作业 搜索字段优化

dev_no_inv
wangwei 10 months ago
parent 574bc32f3d
commit e53cfd2c25

@ -275,6 +275,11 @@ public class IoOrderResponse {
*/
private String workPlaceName;
/**
*
*/
private String splitBusType;
public String getFromName() {
if (StrUtil.isNotEmpty(fromCorpName))

@ -43,6 +43,8 @@
io_order_invoice ioi ON ioi.orderIdFk = io.billNo
LEFT JOIN
sys_workplace sw ON sw.workplaceId = io.workPlaceCode
LEFT JOIN
sys_workplace_document swd ON swd.documentTypeCode = io.splitBusType
<if test="uploadKey != null and uploadKey != ''">
INNER JOIN io_unit_maintain_platform a2 on io.action = a2.sourceAction AND io.fromCorp = a2.unitId
@ -197,6 +199,7 @@
or io.workPlaceCode like concat('%', #{keywords}, '%')
or io.busType like concat('%', #{keywords}, '%')
or sw.workplaceName like concat('%', #{keywords}, '%')
or swd.busName like concat('%', #{keywords}, '%')
or io.fromType like concat('%', #{keywords}, '%'))
</if>

Loading…
Cancel
Save