| | |
| | | <id column="id" property="id" /> |
| | | <result column="shopType" property="shopType" /> |
| | | <result column="shopName" property="shopName" /> |
| | | <result column="shopHead" property="shopHead" /> |
| | | <result column="shopStyle" property="shopStyle" /> |
| | | <result column="systemName" property="systemName" /> |
| | | <result column="systemLogo" property="systemLogo" /> |
| | | <result column="businessLicense" property="businessLicense" /> |
| | | <result column="status" property="status" /> |
| | | <result column="account" property="account" /> |
| | | <result column="createTime" property="createTime" /> |
| | | <result column="updateTime" property="updateTime" /> |
| | | <result column="disabled" property="disabled" /> |
| | |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, shopType, shopName, shopStyle, systemName, systemLogo, businessLicense, createTime, updateTime, disabled, createBy, updateBy |
| | | id, shopType, shopName,shopHead, shopStyle, systemName, systemLogo, businessLicense,status,account, createTime, updateTime, disabled, createBy, updateBy |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TShopVO"> |
| | | select id, shopType, shopName,shopHead, shopStyle, systemName, systemLogo, businessLicense, |
| | | status,account, createTime, updateTime, disabled, createBy, updateBy |
| | | from t_shop ts |
| | | <where> |
| | | <if test="query.shopType != null"> |
| | | AND shopType = #{query.shopType} |
| | | </if> |
| | | <if test="query.shopName != null and query.shopName != ''"> |
| | | AND shopName LIKE concat('%',#{query.shopName},'%') |
| | | </if> |
| | | <if test="query.shopHead != null and query.shopHead != ''"> |
| | | AND shopHead LIKE concat('%',#{query.shopHead},'%') |
| | | </if> |
| | | <if test="query.account != null and query.account != ''"> |
| | | AND account LIKE concat('%',#{query.account},'%') |
| | | </if> |
| | | <if test="query.status != null"> |
| | | AND status = #{query.status} |
| | | </if> |
| | | AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY createTime DESC |
| | | </select> |
| | | |
| | | </mapper> |