From d346846239a8a39246c464dc634f5fd72add99ab Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期二, 26 八月 2025 15:22:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/pim-jlmy' into pim-jlmy --- main-business/src/main/resources/mapper/AccountFileMapper.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/resources/mapper/AccountFileMapper.xml b/main-business/src/main/resources/mapper/AccountFileMapper.xml new file mode 100644 index 0000000..ddeb3ad --- /dev/null +++ b/main-business/src/main/resources/mapper/AccountFileMapper.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > +<mapper namespace="com.ruoyi.business.mapper.AccountFileMapper"> + <select id="accountFileListPage" resultType="com.ruoyi.business.entity.AccountFile"> + SELECT + * + FROM account_file + where + 1=1 + <if test="accountFile.accountId != null and accountFile.accountId != ''"> + AND account_id = #{accountFile.accountId} + </if> + <if test="accountFile.name != null and accountFile.name != '' "> + AND name = #{accountFile.name} + </if> + <if test="accountFile.accountType != null and accountFile.accountType != '' "> + AND account_type = #{accountFile.accountType} + </if> + </select> +</mapper> -- Gitblit v1.9.3