数据处理
This commit is contained in:
@@ -325,7 +325,7 @@ public class ShopInfoDAO {
|
||||
Example example = new Example(ShopInfoDO.class);
|
||||
example.createCriteria().
|
||||
andNotIn("id", isCreateShopIds).andNotEqualTo("shopStatus", 2).andEqualTo("deleted", false)
|
||||
.andNotEqualTo("region_id",459);
|
||||
.andNotEqualTo("regionId",459);
|
||||
return shopInfoMapper.selectByExample(example);
|
||||
}
|
||||
public Integer updateManagerRegionId(List<ShopInfoDO> shopList){
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
<select id="queryAllBigRegion" resultType="com.cool.store.dto.region.BigRegionDTO">
|
||||
select DISTINCT
|
||||
region_id as regionId,
|
||||
region_name as regionName
|
||||
region_name as regionName,
|
||||
group_name as groupName
|
||||
FROM `xfsg_big_region`
|
||||
<where>
|
||||
<if test="keyword!=null and keyword !=''">
|
||||
|
||||
@@ -545,10 +545,10 @@
|
||||
</select>
|
||||
<select id="selectIsCreateStore" resultType="com.cool.store.dto.IsCreateStoreDTO">
|
||||
|
||||
SELECT a.id as shopId, c.parent_id as `pid`
|
||||
SELECT a.shop_name as shopName,a.id as shopId, c.id as `pid`,c.name as pidName
|
||||
FROM xfsg_shop_info a
|
||||
LEFT JOIN store_214ac5a3a517472a87268e02a2e6410a b ON a.shop_code = b.store_num
|
||||
LEFT JOIN `region_214ac5a3a517472a87268e02a2e6410a` c on b.region_id = c.`id`
|
||||
LEFT JOIN store_${enterpriseId} b ON a.shop_code = b.store_num
|
||||
LEFT JOIN region_${enterpriseId} c on b.region_id = c.`id`
|
||||
WHERE b.store_num is not null
|
||||
and a.shop_code is not null
|
||||
and a.deleted =0
|
||||
|
||||
Reference in New Issue
Block a user