From 0bd3125739c0d8bded4f7bd405fd99f1723df964 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 30 五月 2025 15:51:49 +0800 Subject: [PATCH] 不同服务器配置文件备份 --- pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml index ade031c..3abbda8 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml @@ -386,7 +386,7 @@ FROM (SELECT COUNT(DISTINCT user_id) AS count_user,'require_attend' AS title FROM total WHERE user_id !='' UNION - SELECT COUNT(DISTINCT user_id) AS count_user,'actual_attend' AS title FROM total WHERE user_id !='' AND login_time <![CDATA[ < ]]> #{todayDt,jdbcType=TIMESTAMP}) record + SELECT COUNT(DISTINCT user_id) AS count_user,'actual_attend' AS title FROM total WHERE user_id !='' AND login_time <![CDATA[ > ]]> #{todayDt,jdbcType=TIMESTAMP}) record </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> @@ -394,8 +394,8 @@ from sta_assembly_work_last where id = #{id,jdbcType=BIGINT} </delete> - <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" - useGeneratedKeys="true"> + <insert id="insert" parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" + > insert into sta_assembly_work_last ( id, user_id, line_id , station_id, plan_id, process_id @@ -407,8 +407,8 @@ , #{status,jdbcType=TINYINT} , #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{assistants,jdbcType=VARCHAR}) </insert> - <insert id="insertSelective" keyColumn="id" keyProperty="id" - parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast" useGeneratedKeys="true"> + <insert id="insertSelective" + parameterType="com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast"> insert into sta_assembly_work_last <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> -- Gitblit v1.8.0