From b6949a31464f2ca4e790affd467dcfc511223ba2 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期三, 05 四月 2023 23:56:00 +0800
Subject: [PATCH] 优化交费 -- 加入收银员功能

---
 service-fee/src/main/java/com/java110/fee/cmd/payFeeBatch/UpdatePayFeeBatchCmd.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/service-fee/src/main/java/com/java110/fee/cmd/payFeeBatch/UpdatePayFeeBatchCmd.java b/service-fee/src/main/java/com/java110/fee/cmd/payFeeBatch/UpdatePayFeeBatchCmd.java
index 5e78498..bd932d6 100644
--- a/service-fee/src/main/java/com/java110/fee/cmd/payFeeBatch/UpdatePayFeeBatchCmd.java
+++ b/service-fee/src/main/java/com/java110/fee/cmd/payFeeBatch/UpdatePayFeeBatchCmd.java
@@ -17,9 +17,8 @@
 
 import com.alibaba.fastjson.JSONObject;
 import com.java110.core.annotation.Java110Cmd;
-import com.java110.core.annotation.Java110Transactional;
 import com.java110.core.context.ICmdDataFlowContext;
-import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.Cmd;
 import com.java110.core.event.cmd.CmdEvent;
 import com.java110.dto.payFeeBatch.PayFeeBatchDto;
 import com.java110.intf.fee.IFeeInnerServiceSMO;
@@ -32,7 +31,7 @@
 import com.java110.utils.util.BeanConvertUtil;
 import com.java110.vo.ResultVo;
 import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import com.java110.core.log.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 
 
@@ -47,7 +46,7 @@
  * // modify by 寮犱笁 at 2021-09-12 绗�10琛屽湪鏌愮鍦烘櫙涓嬪瓨鍦ㄦ煇绉峛ug 闇�瑕佷慨澶嶏紝娉ㄩ噴10鑷�20琛� 鍔犲叆 20琛岃嚦30琛�
  */
 @Java110Cmd(serviceCode = "payFeeBatch.updatePayFeeBatch")
-public class UpdatePayFeeBatchCmd extends AbstractServiceCmdListener {
+public class UpdatePayFeeBatchCmd extends Cmd {
 
     private static Logger logger = LoggerFactory.getLogger(UpdatePayFeeBatchCmd.class);
 
@@ -84,7 +83,7 @@
             throw new CmdException("鏇存柊鏁版嵁澶辫触");
         }
 
-        if (!PayFeeBatchDto.STATE_FAIL.equals(payFeeBatchPo.getState())) {
+        if (PayFeeBatchDto.STATE_FAIL.equals(payFeeBatchPo.getState())) {
             cmdDataFlowContext.setResponseEntity(ResultVo.success());
             return;
         }

--
Gitblit v1.8.0