소스 검색

产能控制 修改删除逻辑

liuchaohui 2 년 전
부모
커밋
8f8f66563a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/capacity/mapper/xml/SyCapacityControlMapper.xml

+ 2 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/capacity/mapper/xml/SyCapacityControlMapper.xml

@@ -11,8 +11,9 @@
     <select id="query" resultType="org.jeecg.modules.capacity.entity.SyCapacityControl">
         select
         id,supplier,supplier_code,capacity_quota,working_hours,capacity_section,supplier_state,remarks,state from sy_capacity_control
+        where state != '-1'
         <if test="supplier != null">
-            where supplier=#{supplier}
+            and supplier=#{supplier}
         </if>
         order by id desc
         offset #{pageIndex} rows