From b76fd3fa68f6e64b40a101d7f688f748dd88d35c Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期六, 12 十月 2024 11:18:39 +0800 Subject: [PATCH] 添加网串中间件上传下载接口;修改文件上传大小限制 --- pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogPastMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogPastMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogPastMapper.xml index f4e0fe2..18c924a 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogPastMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/StaDeviceProductionLogPastMapper.xml @@ -22,6 +22,7 @@ <result property="outTime" column="out_time" jdbcType="TIMESTAMP"/> <result property="updatedBy" column="updated_by" jdbcType="BIGINT"/> <result property="memo" column="memo" jdbcType="VARCHAR"/> + <result property="number" column="number" jdbcType="INTEGER"/> </resultMap> <sql id="Base_Column_List"> @@ -30,7 +31,7 @@ curr_node,node_content,device_cycle_content, status,result,error_msg, assistants,in_time,out_time, - updated_by,memo + updated_by,memo,number </sql> <!-- <update id="createNewTable">--> <!-- CREATE TABLE ${newTableName} LIKE sta_device_production_log--> @@ -50,4 +51,8 @@ <delete id="deleteFromLogTable"> DELETE FROM sta_device_production_log WHERE DATE(out_time) != CURDATE(); </delete> + + <select id="countLastDayLogs" resultType="_long"> + SELECT COUNT(1) FROM sta_device_production_log WHERE DATE(out_time) != CURDATE(); + </select> </mapper> -- Gitblit v1.8.0