yangdamao 1 年間 前
コミット
45b577e2db

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/mapper/OrderMapper.java

@@ -71,5 +71,5 @@ public interface OrderMapper extends BaseMapper<Order> {
 
     Long getOrderGoodsByBo(@Param("goodsId") Long goodsId,@Param("userId") Long userId);
 
-    Long getCountByGoods(List<Long> goodsIds);
+    Long getCountByGoods(@Param("goodsIds") List<Long> goodsIds);
 }

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/order/OrderMapper.xml

@@ -726,7 +726,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         goods g
         LEFT JOIN course_project_type cpt ON g.project_id = cpt.id
         WHERE
-        INSTR( cpt.project_name, '施工现场专业人员' ) <![CDATA[ <= ]]> 0
+        INSTR( cpt.project_name, '施工现场专业人员' )
         AND g.goods_id IN
         <foreach collection="goodsIds" item="item" index="index" open="(" close=")" separator=",">
             #{item}