吴学文
2019-04-22 ffcbbebc1772d531870a749abf2ab7ec1233e902
java110-code-generator/src/main/resources/template/AbstractBusinessServiceDataFlowListener.txt
@@ -51,10 +51,13 @@
        Map info = new HashMap();
        info.put("storeId",businessStore.getString("storeId"));
        info.put("statusCd",StatusConstant.STATUS_CD_VALID);
        Map currentStoreInfo = getStoreServiceDaoImpl().getStoreInfo(info);
        if(currentStoreInfo == null || currentStoreInfo.isEmpty()){
        List<Map> currentStoreInfos = getStoreServiceDaoImpl().getStoreInfo(info);
        if(currentStoreInfos == null || currentStoreInfos.size() != 1){
            throw new ListenerExecuteException(ResponseConstant.RESULT_PARAM_ERROR,"未找到需要修改数据信息,入参错误或数据有问题,请检查"+info);
        }
        Map currentStoreInfo = currentStoreInfos.get(0);
        currentStoreInfo.put("bId",business.getbId());
        $autoSaveDelBusiness$