liusheng
7 小时以前 34a716e48e49743083953113bfc2e8011d52444f
ruoyi-project/src/main/resources/mapper/project/ServiceExternalpersonMapper.xml
@@ -28,13 +28,39 @@
        <result property="updateTime"    column="update_time"    />
        <result property="pym"    column="PYM"    />
        <result property="wbm"    column="WBM"    />
        <result property="unitTaxNo" column="UnitTaxNo"/>
    </resultMap>
    <sql id="selectServiceExternalpersonVo">
        select ID, UserNo, UserName, UserStatus, IDCardNo, UserType, PersonnelUnitNo, Sex, Telephone, Address, UnitNo, UnitName, Title, DepositBank, BranchBankName, BankCardNo, del_flag, create_by, create_time, update_by, update_time, PYM, WBM from service_externalperson
        select ID,
               UserNo,
               UnitTaxNo,
               UserName,
               UserStatus,
               IDCardNo,
               UserType,
               PersonnelUnitNo,
               Sex,
               Telephone,
               Address,
               UnitNo,
               UnitName,
               Title,
               DepositBank,
               BranchBankName,
               BankCardNo,
               del_flag,
               create_by,
               create_time,
               update_by,
               update_time,
               PYM,
               WBM
        from service_externalperson
    </sql>
    <select id="selectServiceExternalpersonList" parameterType="com.ruoyi.project.domain.ServiceExternalperson" resultMap="ServiceExternalpersonResult">
    <select id="selectServiceExternalpersonList" parameterType="com.ruoyi.project.domain.ServiceExternalperson"
            resultMap="ServiceExternalpersonResult">
        <include refid="selectServiceExternalpersonVo"/>
        <where>
            <if test="userno != null  and userno != ''"> and UserNo = #{userno}</if>
@@ -49,6 +75,7 @@
            <if test="depositbank != null  and depositbank != ''"> and DepositBank = #{depositbank}</if>
            <if test="branchbankname != null  and branchbankname != ''"> and BranchBankName = #{branchbankname}</if>
            <if test="bankcardno != null  and bankcardno != ''"> and BankCardNo = #{bankcardno}</if>
            <if test="unitTaxNo != null  and unitTaxNo != ''">and UnitTaxNo = #{unitTaxNo}</if>
        </where>
    </select>