Browse Source

'表头bug'

HUJIANGUO 3 years ago
parent
commit
11b6c3904b

+ 1 - 1
src/main/java/com/steerinfo/dil/controller/OmstruckOrderController.java

@@ -799,7 +799,7 @@ public class OmstruckOrderController extends BaseRESTfulController {
     ) {
     ) {
         int count = 0;
         int count = 0;
         if (orderType != null) {
         if (orderType != null) {
-            mapValue.put("orderType", orderType);
+            mapValue.put("orderTypee", orderType);
             count++;
             count++;
         }
         }
 
 

+ 6 - 24
src/main/resources/com/steerinfo/dil/mapper/OmstruckOrderMapper.xml

@@ -1645,7 +1645,7 @@
         ASO.SALE_NUMBER "saleNumber",
         ASO.SALE_NUMBER "saleNumber",
         RC.CAPACITY_NUMBER "capacityNumber",
         RC.CAPACITY_NUMBER "capacityNumber",
         RC2.CONSIGNEE_COMPANY_NAME "consigneeCompanyName",
         RC2.CONSIGNEE_COMPANY_NAME "consigneeCompanyName",
-        RRA.ADDRESS_DELIVERY_ADDRESS "addressDeliveryAddress",
+        RRA.ADDRESS_PROVINCE || RRA.ADDRESS_DISTRICT || RRA.ADDRESS_TOWN "addressDeliveryAddress",
         ASOM.SALE_DATE_OF_RECEIPT "saleDateOfReceipt",
         ASOM.SALE_DATE_OF_RECEIPT "saleDateOfReceipt",
         OO.ORDER_RECEIVE_REFUSE_TIME "orderReceiveRefuseTime",
         OO.ORDER_RECEIVE_REFUSE_TIME "orderReceiveRefuseTime",
         RS.SHIPPER_NAME "shipperName",
         RS.SHIPPER_NAME "shipperName",
@@ -1670,8 +1670,8 @@
             <if test="carrierId!=null">
             <if test="carrierId!=null">
                 and RC.CARRIER_ID = #{carrierId}
                 and RC.CARRIER_ID = #{carrierId}
             </if>
             </if>
-            <if test="orderType!=null">
-                and OO.ORDER_TYPE=#{orderType}
+            <if test="orderTypee!=null">
+                and OO.ORDER_TYPE=#{orderTypee}
             </if>
             </if>
         </where>
         </where>
         )
         )
@@ -1694,28 +1694,10 @@
                     "capacityNumber" like '%${item}%'
                     "capacityNumber" like '%${item}%'
                 </foreach>
                 </foreach>
             </if>
             </if>
-            <if test="materialName != null">
-                and
-                <foreach collection="materialName" item="item" open="(" separator="or" close=")">
-                    "materialName" like '%${item}%'
-                </foreach>
-            </if>
-            <if test="orderMaterialweight != null">
-                and
-                <foreach collection="orderMaterialweight" item="item" open="(" separator="or" close=")">
-                    "orderMaterialweight" like '%${item}%'
-                </foreach>
-            </if>
-            <if test="orderMaterialweight != null">
-                and
-                <foreach collection="orderMaterialweight" item="item" open="(" separator="or" close=")">
-                    "orderMaterialweight" like '%${item}%'
-                </foreach>
-            </if>
-            <if test="consigneeCompanyName != null">
+            <if test="shipperName != null">
                 and
                 and
-                <foreach collection="consigneeCompanyName" item="item" open="(" separator="or" close=")">
-                    "consigneeCompanyName" like '%${item}%'
+                <foreach collection="shipperName" item="item" open="(" separator="or" close=")">
+                    "shipperName" like '%${item}%'
                 </foreach>
                 </foreach>
             </if>
             </if>
             <if test="consigneeCompanyName != null">
             <if test="consigneeCompanyName != null">