Your Name лет назад: 3
Родитель
Сommit
574fdb4f30

+ 2 - 2
service-common/src/main/java/com/java110/common/cmd/chargeRule/SaveChargeRuleCmd.java

@@ -55,7 +55,7 @@ public class SaveChargeRuleCmd extends Cmd {
     @Override
     public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
         Assert.hasKeyAndValue(reqJson, "ruleName", "请求报文中未包含ruleName");
-Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
+        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
 
     }
 
@@ -63,7 +63,7 @@ Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含community
     @Java110Transactional
     public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
 
-       ChargeRulePo chargeRulePo = BeanConvertUtil.covertBean(reqJson, ChargeRulePo.class);
+        ChargeRulePo chargeRulePo = BeanConvertUtil.covertBean(reqJson, ChargeRulePo.class);
         chargeRulePo.setRuleId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID));
         int flag = chargeRuleV1InnerServiceSMOImpl.saveChargeRule(chargeRulePo);
 

+ 3 - 3
service-common/src/main/java/com/java110/common/cmd/chargeRule/UpdateChargeRuleCmd.java

@@ -46,7 +46,7 @@ import org.slf4j.LoggerFactory;
 @Java110Cmd(serviceCode = "chargeRule.updateChargeRule")
 public class UpdateChargeRuleCmd extends Cmd {
 
-  private static Logger logger = LoggerFactory.getLogger(UpdateChargeRuleCmd.class);
+    private static Logger logger = LoggerFactory.getLogger(UpdateChargeRuleCmd.class);
 
 
     @Autowired
@@ -55,7 +55,7 @@ public class UpdateChargeRuleCmd extends Cmd {
     @Override
     public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
         Assert.hasKeyAndValue(reqJson, "ruleId", "ruleId不能为空");
-Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
+        Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
 
     }
 
@@ -63,7 +63,7 @@ Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
     @Java110Transactional
     public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
 
-       ChargeRulePo chargeRulePo = BeanConvertUtil.covertBean(reqJson, ChargeRulePo.class);
+        ChargeRulePo chargeRulePo = BeanConvertUtil.covertBean(reqJson, ChargeRulePo.class);
         int flag = chargeRuleV1InnerServiceSMOImpl.updateChargeRule(chargeRulePo);
 
         if (flag < 1) {