文件名从 assess-system/src/main/resources/mapper/system/SysAgencyMapper.xml 修改 |
| | |
| | | <if test="name != null and name != ''"> |
| | | AND a.name like concat('%', #{name}, '%') |
| | | </if> |
| | | <if test="province != null and province != ''"> |
| | | AND a.province=#{province} |
| | | </if> |
| | | <if test="city != null and city != ''"> |
| | | AND a.city=#{city} |
| | | </if> |
| | | <if test="district != null and district != ''"> |
| | | AND a.district=#{district} |
| | | </if> |
| | | <if test="business != null and business != ''"> |
| | | AND a.business like concat("%",#{business},"%") |
| | | </if> |
| | | <if test="publication != null"> |
| | | AND a.publication =#{publication} |
| | | </if> |
| | | </where> |
| | | order by a.create_time desc |
| | |
| | | <include refid="selectAgencyVo"/> |
| | | where a.del_flag = 0 and a.id=#{agencyId} |
| | | </select> |
| | | |
| | | <delete id="deleteAgencyById" parameterType="java.lang.Long"> |
| | | update sys_agency set del_flag=1 where id=#{agencyId} |
| | | </delete> |
| | | |
| | | |
| | | <select id="getBusinessById" resultType="java.lang.String"> |