From 7af2d33d8fda6af451b0873a8f642c3cf7686136 Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期三, 29 十一月 2023 16:21:49 +0800 Subject: [PATCH] 20231129_qiuyh_解决钢筋笼生产查询问题、新加钢筋笼材料标示牌、调整区域打卡 --- hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml index 29c9f85..8814d92 100644 --- a/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml +++ b/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml @@ -401,7 +401,7 @@ order by times asc </select> - <insert id="dataValueInsert" > + <insert id="dataValueIn" > insert into t_data_value <trim prefix="(" suffix=")" suffixOverrides=","> <if test="dataId != null"> @@ -1131,4 +1131,29 @@ </if> </trim> </insert> + + <select id="dataAIList" resultType="com.thhy.materials.modules.biz.helmet.entity.TDataAi"> + select + sign_time as signTime, + box_name as boxName, + device_name as deviceName, + type_name as typeName, + `type` as `type`, + sign_avatar as signAvatar + from t_data_ai where + 1=1 + <if test="strTime!=null and strTime!='' and endTime!='' and endTime!=null "> + and sign_time between #{strTime} and #{endTime} + </if> + <if test="type!=null and type!='' "> + and `type` =#{type} + </if> + order by sign_time desc + </select> + <select id="dataAIType" resultType="com.thhy.materials.modules.biz.helmet.entity.dto.TypeName"> + select `type`, + type_name as typeName + from t_data_ai_type + order by `type` asc + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3