From a92547a2e458ca159b4877fb901f27227b941acf Mon Sep 17 00:00:00 2001 From: hjg <hjg@123.com> Date: 星期一, 16 十月 2023 15:44:50 +0800 Subject: [PATCH] 打开注销 --- JavaSource/com/mandi/fendan/mapper/xmls/Fd_XSTDMapper.xml | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/JavaSource/com/mandi/fendan/mapper/xmls/Fd_XSTDMapper.xml b/JavaSource/com/mandi/fendan/mapper/xmls/Fd_XSTDMapper.xml index c53fda2..1af2336 100644 --- a/JavaSource/com/mandi/fendan/mapper/xmls/Fd_XSTDMapper.xml +++ b/JavaSource/com/mandi/fendan/mapper/xmls/Fd_XSTDMapper.xml @@ -2,7 +2,7 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.mandi.fendan.mapper.Fd_XSTDMapper"> <sql id="column"> - a.td_bmbh,a.td_bmmc,a.td_bz,a.td_djrq,a.td_fpbh, a.td_jylx, a.td_khbh,a.td_cqNo, + a.td_bmbh,a.td_bmmc,a.td_bz,a.td_djrq,a.td_fpbh, a.td_jylx, a.td_khbh,a.td_cqNo,a.committime, CASE WHEN a.td_fpbh IS NULL THEN b.name WHEN a.td_fpbh= '' THEN b.name WHEN a.td_ywdybh= '101' THEN '娌冲崡鎶ュ叧' WHEN a.td_ywdybh= '102' THEN '閮戝窞鎶ュ叧' WHEN a.td_ywdybh= '111' THEN '鏄庢櫉鎶ュ叧' WHEN a.td_ywdybh= '114' THEN '涔夌憺鎶ュ叧' ELSE '绉戞妧鎶ュ叧' END td_khmc, @@ -99,9 +99,11 @@ </if> <if test="fdAdmin != null and fdAdmin != '' "> <!-- 鍦ㄨ溅杈嗗垎鍗曢〉闈㈡椂 --> and ( - (a.td_wfdsl=0 and exists (select 1 from fd_xstdmx tdmx where tdmx.tdmx_tdls = a.td_tdls and - tdmx.tdmx_gbbz=0 and exists(select 1 from bussinesssheet bs where bussinessNo=tdmx.tdmx_fdywbh - and cardno is not null and cardno!='') ) + (a.td_wfdsl=0 and exists + ( + select 1 from fd_xstdmx tdmx where tdmx.tdmx_tdls = a.td_tdls and tdmx.tdmx_gbbz=0 and exists + (select 1 from bussinesssheet bs where bussinessNo=tdmx.tdmx_fdywbh and cardno is not null and cardno!='' and sstatus='鍦ㄥ姙') + ) ) <!-- 鍏ㄩ儴鍒嗗崟锛屽垯杞﹁締鏈夋湭鍙戝崱鏄剧ず --> or a.td_wfdsl > 0 <!-- 鏈夋湭鍒嗗崟鏄剧ず --> ) -- Gitblit v1.9.3