Forráskód Böngészése

虚拟子账户截取项目名称一定长度

ZC 3 hete
szülő
commit
c910372f4b

+ 3 - 0
ruoyi-modules/hh-bidding/src/main/java/com/hh/bidding/controller/BidNoticeController.java

@@ -501,6 +501,9 @@ public class BidNoticeController extends BaseController {
     @GetMapping("/getBankAccount")
     public AjaxResult getBankAccount(@RequestParam("uid") Long uid){
         BidNotice bidNotice = bidNoticeService.selectBidNoticeByUid(uid);
+        if(bidNotice.getuTitle().length() > 75){
+            bidNotice.setuTitle(bidNotice.getuTitle().substring(0,75));
+        }
 
         /**添加标段银行接口*/
         BidTender bt = bidTenderService.selectBidTenderBySid(bidNotice.getSid());

+ 1 - 1
ruoyi-modules/hh-mast/src/main/resources/mapper/bank/BankRefundMapper.xml

@@ -103,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="rtnPrjno != null  and rtnPrjno != ''"> and rtn_prjno like concat('%',#{rtnPrjno},'%')</if>
             <if test="rtnPrjnm != null  and rtnPrjnm != ''"> and rtn_prjnm like concat('%',#{rtnPrjnm},'%') </if>
             <if test="rtnRfndst != null  and rtnRfndst != ''"> and rtn_rfndst = #{rtnRfndst}</if>
-            <if test="rtnTdracctno != null  and rtnTdracctno != ''"> and rtn_tdracctno = #{rtnTdracctno}</if>
+            <if test="rtnTdracctno != null  and rtnTdracctno != ''"> and rtn_tdracctno like concat('%',#{rtnTdracctno},'%') </if>
             <if test="rtnTdracctnoccycd != null  and rtnTdracctnoccycd != ''"> and rtn_tdracctnoccycd = #{rtnTdracctnoccycd}</if>
             <if test="rtnTdracctnm != null  and rtnTdracctnm != ''"> and rtn_tdracctnm like concat('%',#{rtnTdracctnm},'%')</if>
             <if test="rtnTdracctnobnkno != null  and rtnTdracctnobnkno != ''"> and rtn_tdracctnobnkno = #{rtnTdracctnobnkno}</if>