Commit ca1f6ccc by 徐高华

bug

parent 3ca96bd1
...@@ -210,11 +210,9 @@ ...@@ -210,11 +210,9 @@
from tab_haoban_audit from tab_haoban_audit
where where
status_flag = 1 status_flag = 1
<if test="clerkType==1">
<if test="auditType == null || auditType == -1"> <if test="auditType == null || auditType == -1">
and audit_type in (2,3,4,5) and audit_type in (2,3,4,5)
</if> </if>
</if>
<if test="auditType != null and auditType != -1"> <if test="auditType != null and auditType != -1">
and audit_type = #{auditType} and audit_type = #{auditType}
</if> </if>
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<select id="selectByUrl" resultMap="result-map-tabHaobanMaterialContent"> <select id="selectByUrl" resultMap="result-map-tabHaobanMaterialContent">
SELECT SELECT
<include refid="Base_Column_List"/> <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>
<select id="listByIds" resultMap="result-map-tabHaobanMaterialContent"> <select id="listByIds" resultMap="result-map-tabHaobanMaterialContent">
select 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