| | |
| | | <if test="operatorId !=null and operatorId !=''"> |
| | | and t1.operatorId = #{operatorId} |
| | | </if> |
| | | order by t1.id desc |
| | | </select> |
| | | <select id="queryProvince" resultType="map"> |
| | | select * from ( |
| | |
| | | <if test="storeName != null and storeName != ''"> |
| | | and `name` like CONCAT('%',#{storeName},'%') |
| | | </if> |
| | | order by id desc |
| | | </select> |
| | | <select id="listOne" resultType="java.util.Map"> |
| | | select id,name,sort,state from t_store_other where storeId=#{id} |
| | | select id,name,sort,state from t_store_other where storeId=#{id} order by id desc |
| | | </select> |
| | | <select id="typeChange" resultType="java.util.Map"> |
| | | select t1.id,t1.name from t_turn t1 left join t_turn t2 on t1.pid = t2.id where t2.name =#{name} |
| | | select t1.id,t1.name from t_turn t1 left join t_turn t2 on t1.pid = t2.id where t2.name =#{name} order by t1.id desc |
| | | </select> |
| | | <select id="typeChangeOne" resultType="java.util.Map"> |
| | | select id,name from t_turn where pid =#{id} |
| | | select id,name from t_turn where pid =#{id} order by id desc |
| | | </select> |
| | | <select id="getConfig" resultType="java.lang.String"> |
| | | select name from t_turn where id =#{page} |
| | | </select> |
| | | <select id="listTwo" resultType="java.util.Map"> |
| | | select id,url,name , page,sort from t_store_other_config |
| | | select id,url,name , page,sort from t_store_other_config order by id desc |
| | | </select> |
| | | |
| | | <select id="getPage" resultType="com.dsh.guns.modular.system.model.TTurn"> |
| | |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | order by t_turn.id desc |
| | | </select> |
| | | <select id="pageList" resultType="com.dsh.guns.modular.system.model.TTurn"> |
| | | select * from t_turn where pid = 0 |
| | | select * from t_turn where pid = 0 order by id desc |
| | | </select> |
| | | <select id="get" resultType="com.dsh.course.dto.JsDto"> |
| | | select * from t_js where id = #{id} |
| | |
| | | |
| | | |
| | | <select id="getConfig1" resultType="com.dsh.guns.modular.system.model.TImgConfig"> |
| | | select * from t_img_config |
| | | select * from t_img_config order by id desc |
| | | </select> |
| | | |
| | | |
| | |
| | | SELECT op.id , CONCAT(us.name,'-',us.`phone`) as value |
| | | FROM t_operator op |
| | | LEFT JOIN sys_user us on op.userId = us.id |
| | | order by op.id desc |
| | | |
| | | |
| | | |
| | |
| | | <if test="shopName !=null and shopName !=''"> |
| | | and t1.name like concat("%",#{shopName},"%") |
| | | </if> |
| | | order by t1.id desc |
| | | </select> |
| | | <select id="querySiteListOfpage" resultType="java.util.Map"> |
| | | SELECT t1.id, t2.operatorId, t1.province, t1.city, t2.name,t1.ids,t1.name as siteName |
| | |
| | | <if test="storeId != null"> |
| | | and t1.storeId = #{storeId} |
| | | </if> |
| | | order by t1.id desc |
| | | </select> |
| | | <select id="querySiteListOfpageOperator" resultType="java.util.Map"> |
| | | SELECT t1.id, t2.operatorId, t1.province, t1.city, t2.name,t1.ids,t1.name as siteName |
| | |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | |
| | | order by t1.id desc |
| | | </select> |
| | | |
| | | <select id="listStoreAll" resultType="map"> |
| | |
| | | <if test="null != cityCode and '' != cityCode"> |
| | | and a.cityCode = #{cityCode} |
| | | </if> |
| | | order by a.id desc |
| | | </select> |
| | | |
| | | |
| | |
| | | <foreach collection="ids" item="item" index="index" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | order by a.id desc |
| | | </select> |
| | | </mapper> |