Commit ca1f6ccc by 徐高华

bug

parent 3ca96bd1
......@@ -210,10 +210,8 @@
from tab_haoban_audit
where
status_flag = 1
<if test="clerkType==1">
<if test="auditType == null || auditType == -1">
and audit_type in (2,3,4,5)
</if>
<if test="auditType == null || auditType == -1">
and audit_type in (2,3,4,5)
</if>
<if test="auditType != null and auditType != -1">
and audit_type = #{auditType}
......
......@@ -92,7 +92,7 @@
<select id="selectByUrl" resultMap="result-map-tabHaobanMaterialContent">
SELECT
<include refid="Base_Column_List"/>
FROM tab_haoban_material_content WHERE wx_enterprise_id=#{wxEnterpriseId} and url_md5=#{urlMd5} and media_type = #{mediaType} and status_flag = 1
FROM tab_haoban_material_content WHERE wx_enterprise_id=#{wxEnterpriseId} and url_md5=#{urlMd5} and media_type = #{mediaType} and status_flag = 1 limit 1
</select>
<select id="listByIds" resultMap="result-map-tabHaobanMaterialContent">
select
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment