From 985291be603e81fa49eb460e8ad150ffaba7e04f Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期一, 08 九月 2025 14:55:52 +0800 Subject: [PATCH] 更新说明 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairWarehouseMapper.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairWarehouseMapper.xml b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairWarehouseMapper.xml new file mode 100644 index 0000000..3eda30c --- /dev/null +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairWarehouseMapper.xml @@ -0,0 +1,23 @@ +<?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="org.jeecg.modules.eam.mapper.RepairWarehouseMapper"> + + <select id="getColumnDateList" resultType="java.lang.String"> + select + distinct ${repairWarehouse.column} + from eam_repair_warehouse + where del_flag = '0' + <if test="repairWarehouse.faultType != null and repairWarehouse.faultType != '' "> + AND fault_type = #{repairWarehouse.faultType} + </if> + <if test="repairWarehouse.faultPart != null and repairWarehouse.faultPart != '' "> + AND fault_part LIKE CONCAT(CONCAT('%',#{repairWarehouse.faultPart}),'%') + </if> + <if test="repairWarehouse.faultChildPart != null and repairWarehouse.faultChildPart != '' "> + AND fault_child_part LIKE CONCAT(CONCAT('%',#{repairWarehouse.faultChildPart}),'%') + </if> + <if test="repairWarehouse.repairDescription != null and repairWarehouse.repairDescription != '' "> + AND repair_description LIKE CONCAT(CONCAT('%',#{repairWarehouse.repairDescription}),'%') + </if> + </select> +</mapper> \ No newline at end of file -- Gitblit v1.9.3