蔡德晨 преди 5 години
родител
ревизия
c35017d6e0

+ 1 - 0
src/main/java/com/jeeplus/modules/sg/project/mapper/xml/ItemMapper.xml

@@ -31,6 +31,7 @@
 			<include refid="infoColumns"/>
 		FROM sg_wbs_item a
 		<where>
+			 a.del_flag = '0'
 			<if test="itemName != null and itemName != ''">
 				AND a.item_name LIKE CONCAT(CONCAT('%',#{itemName},'%'))
 			</if>

+ 1 - 1
src/main/java/com/jeeplus/modules/sg/project/mapper/xml/ProjectMapper.xml

@@ -62,7 +62,7 @@
 			<if test="projectEndDate != null and projectEndDate != ''">
 				 a.create_date &lt;= #{projectEndDate} AND
 			</if>
-			1 = 1
+			a.del_flag = '0'
 		</where>
 		 ORDER BY a.update_date DESC