Merge branch 'cc_2250513_api' into 'master'

Cc 2250513 api

See merge request hangzhou/java/custom_zxjp!89
This commit is contained in:
苏竹红
2025-05-20 09:32:04 +00:00
18 changed files with 570 additions and 13 deletions

View File

@@ -63,5 +63,9 @@ public class StoreDao {
return storeMapper.listByMobile(mobile);
}
public List<StoreDO> list() {
return storeMapper.list();
}
}

View File

@@ -31,4 +31,10 @@ public interface StoreMapper {
*/
List<StoreDO> listByMobile(@Param("mobile") String mobile);
/**
* 分页查询门店数据
* @return
*/
List<StoreDO> list();
}

View File

@@ -83,10 +83,16 @@
select *
from store_${enterpriseId}
<where>
and is_delete = 'effective'
<if test="mobile!=null and mobile !=''">
and `extend_field` like concat('%', #{mobile}, '%')
</if>
</where>
</select>
<select id="list" resultMap="BaseResultMap">
select *
from store_${enterpriseId} where is_delete = 'effective' order by id asc
</select>
</mapper>