| | |
| | | state,pageId,typeId |
| | | ) value (null ,#{url},#{name},#{s},#{s1},#{turnId},#{sort},1,#{page},#{type}) |
| | | </insert> |
| | | <update id="updateBasicConfig"> |
| | | update t_img_config |
| | | set content = #{p1} |
| | | where `position` =#{position} |
| | | </update> |
| | | |
| | | <update id="updateBasicBenefits"> |
| | | update t_img_config |
| | | set content = #{p1} |
| | | where `position` =#{position} |
| | | </update> |
| | | |
| | | <delete id="delete1"> |
| | | delete from t_store_other_config where id =#{id} |
| | | </delete> |
| | |
| | | SELECT `id`, `operatorId`, `province`, `city`, `name`,ids |
| | | from t_store |
| | | where 1=1 |
| | | <if test="provinceCode != null"> |
| | | <if test="provinceCode != null and provinceCode!=''"> |
| | | and provinceCode = #{provinceCode} |
| | | </if> |
| | | <if test="cityCode != null"> |
| | | <if test="cityCode != null and cityCode!=''"> |
| | | and cityCode = #{cityCode} |
| | | </if> |
| | | <if test="operatorId != null"> |
| | | <if test="operatorId != null and operatorId!=''"> |
| | | and operatorId = #{operatorId} |
| | | </if> |
| | | <if test="storeName != null and storeName != ''"> |
| | |
| | | <select id="pageList" resultType="com.dsh.guns.modular.system.model.TTurn"> |
| | | select * from t_turn where pid = 0 |
| | | </select> |
| | | <select id="getConfig1" resultType="com.dsh.guns.modular.system.model.TImgConfig"> |
| | | select * from t_img_config |
| | | </select> |
| | | </mapper> |