ソースを参照

优化 userId bug

java110 4 年 前
コミット
553b84db33

+ 1 - 0
service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java

@@ -72,6 +72,7 @@ public class ListPropertyCmd extends AbstractServiceCmdListener {
     public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
 
         StoreDto storeDto = BeanConvertUtil.covertBean(reqJson, StoreDto.class);
+        storeDto.setUserId("");
         storeDto.setStoreTypeCd(StoreDto.STORE_TYPE_PROPERTY);
 
         int count = storeV1InnerServiceSMOImpl.queryStoresCount(storeDto);

+ 1 - 0
service-store/src/main/java/com/java110/store/cmd/store/ListStoresCmd.java

@@ -45,6 +45,7 @@ public class ListStoresCmd extends AbstractServiceCmdListener {
     @Override
     public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
         StoreDto storeDto = BeanConvertUtil.covertBean(reqJson, StoreDto.class);
+        storeDto.setUserId("");
         int storeCount = storeV1InnerServiceSMOImpl.queryStoresCount(storeDto);
         List<StoreDto> storeDtos = null;
         List<ApiStoreDataVo> stores = null;