Browse Source

子订单状态的显示bug处理

hxl13994548489 2 years ago
parent
commit
6ebce33caa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

+ 3 - 3
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -781,7 +781,7 @@
         select
         io.orderno as orderno,
         io.quoteno as  quoteno,
-        io.orderstatus as orderstatus,
+        iac.orderstatus as orderstatus,
         io.carinfo as  carinfo,
         io.userid as userid,
         io.username as username,
@@ -851,7 +851,7 @@
                 and io.deptid like "${orderQueryVo.deptId}%"
             </if>
             <if test="orderQueryVo.orderStatus != null and orderQueryVo.orderStatus != ''">
-                and io.orderstatus = #{orderQueryVo.orderStatus}
+                and iac.orderstatus = #{orderQueryVo.orderStatus}
             </if>
             <if test="orderQueryVo.frameNo != null and orderQueryVo.frameNo != ''">
                 and io.frameno = #{orderQueryVo.frameNo}
@@ -928,7 +928,7 @@
                 and io.deptid like "${orderQueryVo.deptId}%"
             </if>
             <if test="orderQueryVo.orderStatus != null and orderQueryVo.orderStatus != ''">
-                and io.orderstatus = #{orderQueryVo.orderStatus}
+                and iac.orderstatus= #{orderQueryVo.orderStatus}
             </if>
             <if test="orderQueryVo.frameNo != null and orderQueryVo.frameNo != ''">
                 and io.frameno = #{orderQueryVo.frameNo}