出入库单oms;

This commit is contained in:
王奎兴
2026-04-14 19:03:01 +08:00
parent 1fa6d88545
commit 281bf9b965
58 changed files with 10194 additions and 29 deletions
@@ -0,0 +1,36 @@
<?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.oms.domain.sysTableConfig.repository.mapper.SysTableConfigMapper">
<!-- 分页查询配置列表 -->
<select id="queryList" parameterType="java.lang.String" resultType="com.mhd.oms.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="warehouseId != null">
AND a.warehouse_id = #{warehouseId}
</if>
<if test="key != null and key != ''">
AND a.key LIKE CONCAT('%', #{key}, '%')
</if>
</sql>
</mapper>