浏览代码

装箱出货销售合同下拉只过滤审核通过的数据

yzc 2 年之前
父节点
当前提交
342a4499e5
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

+ 2 - 3
hx-sale/src/main/resources/mapper/contract/ContractMapper.xml

@@ -69,10 +69,9 @@
                 buy_corporation_id = #{customerId}
                 buy_corporation_id = #{customerId}
             </if>
             </if>
         </where>
         </where>
-            ) t1
+        ) t1
         WHERE t1.sumPackQuantity &lt; t1.cpQuantity
         WHERE t1.sumPackQuantity &lt; t1.cpQuantity
-        AND t1.`status` &gt;=30
-        AND t1.`status` &lt;99
+        AND t1.`status`=30
         GROUP BY t1.id
         GROUP BY t1.id
     </select>
     </select>