wujianwei
2026-02-02 48032a9bf0b5e560fd438ae7ba12ad6f4c8183ed
service/src/main/resources/mapper/cwgl/VoucherSubjectSettingMapper.xml
@@ -102,6 +102,8 @@
        insert into voucher_subject_setting
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="parentId != null">parent_id,</if>
            <if test="parentSubjectCode != null and parentSubjectCode != ''">parent_subject_code,</if>
            <if test="parentSubjectName != null and parentSubjectName != ''">parent_subject_name,</if>
            <if test="ancestors != null">ancestors,</if>
            <if test="accountSet != null and accountSet != ''">account_set,</if>
            <if test="subjectCode != null and subjectCode != ''">subject_code,</if>
@@ -130,6 +132,8 @@
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="parentId != null">#{parentId},</if>
            <if test="parentSubjectCode != null and parentSubjectCode != ''">#{parentSubjectCode},</if>
            <if test="parentSubjectName != null and parentSubjectName != ''">#{parentSubjectName},</if>
            <if test="ancestors != null">#{ancestors},</if>
            <if test="accountSet != null and accountSet != ''">#{accountSet},</if>
            <if test="subjectCode != null and subjectCode != ''">#{subjectCode},</if>