فهرست منبع

数据调整信息提交

user5 2 سال پیش
والد
کامیت
cc392d6d0a

+ 1 - 1
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/mould/mapper/xml/TemplateMapper.xml

@@ -19,7 +19,7 @@
 	<select id="queryByComAndBizCode" resultType="com.jeeplus.test.mould.domain.SysSerialnumTpl">
 		select	a.*
 		 from sys_serialnum_tpl a
-		where a.company_id = #{id} and a.biz_code = #{bizCode}
+		where a.company_id = #{id} and a.biz_code = #{bizCode} and a.del_flag = 0
 		order by update_date desc
 		limit 1
 	</select>