仓储动态表单;

This commit is contained in:
王奎兴
2026-03-31 09:31:22 +08:00
parent 49d7c303a5
commit 2af85ee22e
9 changed files with 729 additions and 0 deletions
@@ -0,0 +1,33 @@
<?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.mhd.wms.domain.sysTableConfig.repository.mapper.SysTableConfigMapper">
<!-- 分页查询配置列表 -->
<select id="queryList" parameterType="java.lang.String" resultType="com.mhd.wms.domain.sysTableConfig.repository.vo.SysTableConfigVO">
SELECT
a.id,
a.create_by AS createBy,
a.create_time AS createTime,
a.update_by AS updateBy,
a.update_time AS updateTime,
a.organization_id AS organizationId,
a.key AS key,
a.value AS value,
a.remark AS remark
FROM sys_table_config a
WHERE 1=1
<include refid="common_where"></include>
ORDER BY a.create_time DESC
</select>
<!-- 公共查询条件 -->
<sql id="common_where">
<if test="organizationId != null">
AND a.organization_id = #{organizationId}
</if>
<if test="key != null and key != ''">
AND a.key LIKE CONCAT('%', #{key}, '%')
</if>
</sql>
</mapper>