|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
"groupId" : "06d35cc5db5f4e6681262a1648c871c3",
|
|
|
|
|
"name" : "列表",
|
|
|
|
|
"createTime" : null,
|
|
|
|
|
"updateTime" : 1730109068864,
|
|
|
|
|
"updateTime" : 1730451538439,
|
|
|
|
|
"lock" : null,
|
|
|
|
|
"createBy" : null,
|
|
|
|
|
"updateBy" : null,
|
|
|
|
@ -162,6 +162,8 @@ String salesOrderCode = body["salesOrderCode"];
|
|
|
|
|
String materialName = body["materialName"];
|
|
|
|
|
String materialCode = body["materialCode"];
|
|
|
|
|
String deliveryDate = body["deliveryDate"];
|
|
|
|
|
String customerName = body["customerName"];
|
|
|
|
|
String orderNo = body["orderNo"];
|
|
|
|
|
|
|
|
|
|
String salesOrdeSelect = sql("salesOrder")
|
|
|
|
|
String sql = """
|
|
|
|
@ -189,7 +191,9 @@ String sql = """
|
|
|
|
|
?{salesOrderCode != null and salesOrderCode != "", and mps.sales_order_code = #{salesOrderCode}}
|
|
|
|
|
?{documentNumber != null and documentNumber != "", and mps.document_number = #{documentNumber}}
|
|
|
|
|
?{materialName != null and materialName != "", and msm.material_name like concat('%', #{materialName}, '%')}
|
|
|
|
|
?{materialCode != null and materialCode != "", and mps.material_code like concat('%', #{materialCode}, '%')}
|
|
|
|
|
?{materialCode != null and materialCode != "", and mps.material_code like concat('%', #{materialCode}, '%')}
|
|
|
|
|
?{customerName != null and customerName != "", and mci.customer_name like concat('%', #{customerName}, '%')}
|
|
|
|
|
?{orderNo != null and orderNo != "", and msm.order_no like concat('%', #{orderNo}, '%')}
|
|
|
|
|
?{deliveryDate != null and deliveryDate != '', and mso.delivery_date = #{deliveryDate}}
|
|
|
|
|
""";
|
|
|
|
|
|
|
|
|
|