| | |
| | | <select id="selectSvyLibTemplateCategoryList" parameterType="com.smartor.domain.SvyLibTemplateCategory" |
| | | resultMap="SvyLibTemplateCategoryResult"> |
| | | <include refid="selectSvyLibTemplateCategoryVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="orgid != null ">and orgid = #{orgid}</if> |
| | | <if test="seqno != null ">and seqno = #{seqno}</if> |
| | | |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTemplateCategoryById" parameterType="Long" resultMap="SvyLibTemplateCategoryResult"> |