Commit 26a5293f by 陶光胜

门店保存修改

parent a03b2c71
......@@ -63,4 +63,12 @@ public interface StoreWidgetApiService {
* @return result true表示存在
*/
ServiceResponse exist(Integer enterpriseId, Integer storeWidgetId, Integer storeId);
/** @Description: 判断门店是否在门店控件里
* @author taogs
* @Date 11:03 2020/3/27
* @Param
* @return result true表示存在
*/
ServiceResponse exist(String enterpriseId, Integer storeWidgetId, Integer storeId);
}
......@@ -115,6 +115,11 @@ public class StoreWidgetApiServiceImpl implements StoreWidgetApiService {
return return ServiceResponse.success(false);
}
@Override
public ServiceResponse exist(String enterpriseId, Integer storeWidgetId, Integer storeId) {
return this.exist(Integer.valueOf(enterpriseId), storeWidgetId, storeId);
}
private void getStoreId(Integer enterpriseId, Integer storeWidgetId, int pageNum, List<Integer> list){
ServiceResponse<Page<StoreDTO>> response = this.listStoreByStoreWidgetId(enterpriseId, storeWidgetId, pageNum, 10000);
if(response.isSuccess() && response.getResult() != null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment