zjh
2025-01-21 7caeae303d4a93d0af2dc2d2f546987dd192be3c
ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -54,7 +54,8 @@
               sale_num,
               category_id,
               his_pac_bm,
               pym,tj_category
               pym,
               tj_category
        from tj_package
    </sql>
@@ -64,6 +65,7 @@
            <if test="pacName != null  and pacName != ''">and pac_name like concat('%', #{pacName}, '%')</if>
            <if test="pacRemark != null  and pacRemark != ''">and pac_remark like concat('%', #{pacRemark}, '%')</if>
            <if test="categoryId != null  and categoryId != ''">and category_id = #{categoryId}</if>
            <if test="tjCategory != null  and tjCategory != ''">and tj_category = #{tjCategory}</if>
            and deleted =0
        </where>
    </select>