Commit f5f71f38 authored by hezhen's avatar hezhen

123

parent 81d025b0
...@@ -93,9 +93,13 @@ ...@@ -93,9 +93,13 @@
IF(e.cata_id is NULL,0,1) as isSelected, IF(e.cata_id is NULL,0,1) as isSelected,
IF(e1.cata_id is NULL,0,1) as isParentSelected IF(e1.cata_id is NULL,0,1) as isParentSelected
</when> </when>
<when test="cataIds != null and cataIds.size() > 0">
IF(e.cata_id is NULL,0,1) as isSelected,
IF(e1.cata_id is NULL,0,1) as isParentSelected
</when>
<otherwise> <otherwise>
IF(c2.id is NULL,0,1) as isSelected, 0 as isSelected,
IF(c1.parent_id is NULL,0,1) as isParentSelected 0 as isParentSelected
</otherwise> </otherwise>
</choose> </choose>
......
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