| | |
| | | <if test="photoClassifyDTO.name != null and photoClassifyDTO.name != """> |
| | | and `name` like concat (#{photoClassifyDTO.name},'%') |
| | | </if> |
| | | <if test="photoClassifyDTO.areaCode != null and photoClassifyDTO.areaCode != """> |
| | | and area_code = #{photoClassifyDTO.areaCode} |
| | | </if> |
| | | </where> |
| | | order by create_at desc |
| | | </select> |
| | | |
| | | <select id="getPhotoClassifyList" resultType="com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoClassifyVO"> |
| | | select id,`name`,`status`,weight,remark,create_at,update_at from com_act_easy_photo_classify |
| | | select id,`name`,`status`,weight,remark,create_at,update_at from com_act_easy_photo_classify where area_code = #{areaCode} |
| | | order by create_at desc |
| | | </select> |
| | | |