Commit d3a2f6e6 by 徐高华

非空判断

parent a2c54000
......@@ -82,7 +82,7 @@
</select>
<select id="getMaxSortNum" resultType="java.lang.Integer">
select max(sort_num) from tab_haoban_material_category
select ifnull(max(sort_num),0) from tab_haoban_material_category
where wx_enterprise_id = #{wxEnterpriseId}
and category_parent_id = #{parentId} and status_flag = 1
</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