diff --git a/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cWaybillController.java b/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cWaybillController.java index d5a1610..0944656 100644 --- a/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cWaybillController.java +++ b/emis-oms-biz-web/src/main/java/com/xdadan/erp/oms/web/Oms2cWaybillController.java @@ -427,7 +427,6 @@ public class Oms2cWaybillController extends BaseController return AjaxResult.error("绑定失败,月结卡号必填!"); } // 查询月结账号是否存在 - SysOmsUser sysOmsUser0 = sysOmsUserService.selectUserByMonthCust(monthPayCode); if(sysOmsUser0==null){ return AjaxResult.error("绑定失败,月结用户不存在!"); diff --git a/emis-oms-biz/src/main/resources/mapper/EmisMonthpayUseApplyMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisMonthpayUseApplyMapper.xml index 412a29f..5851ea5 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisMonthpayUseApplyMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisMonthpayUseApplyMapper.xml @@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and id = #{id} and cust_no= #{custNo} and customer_code=#{customerCode} - and apply_seq like concat('%', #{applySeq}, '%') + and apply_seq=#{applySeq} and apply_date = #{applyDate} and apply_name like concat('%', #{applyName}, '%') and audit_date = #{auditDate}