feat:V2.4
This commit is contained in:
@@ -202,8 +202,8 @@ public class ShopInfoDAO {
|
||||
}
|
||||
|
||||
|
||||
public List<ShopInfoDO> selectAllDataOrByShopId(Long shopId) {
|
||||
return shopInfoMapper.selectAllDataOrByShopId(shopId);
|
||||
public List<ShopInfoDO> selectAllDataOrByLineId(Long shopId) {
|
||||
return shopInfoMapper.selectAllDataOrByLineId(shopId);
|
||||
}
|
||||
|
||||
public Boolean batchUpdate(List<ShopInfoDO> list) {
|
||||
|
||||
@@ -114,7 +114,7 @@ public interface ShopInfoMapper extends Mapper<ShopInfoDO> {
|
||||
* @param shopId
|
||||
* @return
|
||||
*/
|
||||
List<ShopInfoDO> selectAllDataOrByShopId(Long shopId);
|
||||
List<ShopInfoDO> selectAllDataOrByLineId(@Param("lineId") Long lineId);
|
||||
|
||||
Boolean batchUpdate(List<ShopInfoDO> list);
|
||||
}
|
||||
|
||||
@@ -357,11 +357,11 @@
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectAllDataOrByShopId" resultMap="BaseResultMap">
|
||||
<select id="selectAllDataOrByLineId" resultMap="BaseResultMap">
|
||||
select * from xfsg_shop_info
|
||||
<where>
|
||||
<if test="shopId!=null">
|
||||
and id = #{shopId}
|
||||
<if test="lineId!=null">
|
||||
and line_id = #{lineId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user