现场管理业务名称

dev_no_inv
yewj 9 months ago
parent dfcf62f1a8
commit c530e04750

@ -280,6 +280,9 @@ public class IoOrderResponse {
*/ */
private String splitBusType; private String splitBusType;
private String splitBusTypeName;
public String getFromName() { public String getFromName() {
if (StrUtil.isNotEmpty(fromCorpName)) if (StrUtil.isNotEmpty(fromCorpName))

@ -14,7 +14,8 @@
aw2.name AS fromInvName, aw2.name AS fromInvName,
bc1.name AS fromCorpName, bc1.name AS fromCorpName,
bc2.name AS customerName, bc2.name AS customerName,
sw.workplaceName AS workPlaceName sw.workplaceName AS workPlaceName,
swd.busName AS splitBusTypeName
FROM FROM
io_order io io_order io
LEFT JOIN LEFT JOIN
@ -584,7 +585,8 @@
<where> <where>
basic_bussiness_type.inStock = 1 basic_bussiness_type.inStock = 1
and io_order.`status` = 7 and io_order.`status` = 7
AND date_format(io_order.updateTime, '%Y-%m-%d') between date_format(#{firstData}, '%Y-%m-%d') and date_format(#{lastData}, '%Y-%m-%d') AND date_format(io_order.updateTime, '%Y-%m-%d') between date_format(#{firstData}, '%Y-%m-%d') and
date_format(#{lastData}, '%Y-%m-%d')
<if test="invCode != null and invCode != ''"> <if test="invCode != null and invCode != ''">
AND io_order.invCode = #{invCode} AND io_order.invCode = #{invCode}
@ -658,10 +660,12 @@
AND io.relKey like concat('%', #{relKey}, '%') AND io.relKey like concat('%', #{relKey}, '%')
</if> </if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and date_format(#{endTime}, '%Y-%m-%d') AND date_format(io.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and
date_format(#{endTime}, '%Y-%m-%d')
</if> </if>
<if test="startAduditTime != null and startAduditTime != '' and endAduditTime != null and endAduditTime != ''"> <if test="startAduditTime != null and startAduditTime != '' and endAduditTime != null and endAduditTime != ''">
AND date_format(io.auditTime, '%Y-%m-%d') between date_format(#{startAduditTime}, '%Y-%m-%d') and date_format(#{endAduditTime}, '%Y-%m-%d') AND date_format(io.auditTime, '%Y-%m-%d') between date_format(#{startAduditTime}, '%Y-%m-%d') and
date_format(#{endAduditTime}, '%Y-%m-%d')
</if> </if>
<if test="actions != null and actions.size() != 0"> <if test="actions != null and actions.size() != 0">
AND io.`action` in AND io.`action` in

Loading…
Cancel
Save