首次提交

master
huangjinysf 2 months ago
parent 1326099a8a
commit 39ea78af70

@ -19,3 +19,6 @@ public class RuoYiApplication
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n"); System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n");
} }
} }

@ -16,7 +16,7 @@ ruoyi:
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口默认为8080 # 服务器的HTTP端口默认为8080
port: 8080 port: 8085
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
@ -95,7 +95,7 @@ token:
# 令牌密钥 # 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟 # 令牌有效期默认30分钟
expireTime: 30 expireTime: 10000
# MyBatis配置 # MyBatis配置
mybatis: mybatis:

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper <!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.WmsImportResultHistoryMapper"> <mapper namespace="com.ruoyi.system.mapper.WmsImportResultHistoryMapper">
<resultMap type="WmsImportResultHistory" id="WmsImportResultHistoryResult"> <resultMap type="WmsImportResultHistory" id="WmsImportResultHistoryResult">
@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="totalGrossWeight" column="total_gross_weight" /> <result property="totalGrossWeight" column="total_gross_weight" />
<result property="type" column="type" /> <result property="type" column="type" />
<result property="warningValue" column="warning_value" /> <result property="warningValue" column="warning_value" />
<result property="updateTime" column="update_time" /> <result property="updateTime" column="update_time" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
</resultMap> </resultMap>
<sql id="selectWmsImportResultHistoryVo"> <sql id="selectWmsImportResultHistoryVo">
@ -32,9 +32,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="totalGrossWeight != null "> and total_gross_weight = #{totalGrossWeight}</if> <if test="totalGrossWeight != null "> and total_gross_weight = #{totalGrossWeight}</if>
<if test="type != null and type != ''"> and type = #{type}</if> <if test="type != null and type != ''"> and type = #{type}</if>
<if test="warningValue != null "> and warning_value = #{warningValue}</if> <if test="warningValue != null "> and warning_value = #{warningValue}</if>
<if test="updateTime != null and updateTime != ''"> <if test="updateTime != null">
and update_time >= #{updateTime} and update_time >= #{updateTime, javaType=java.util.Date, jdbcType=TIMESTAMP}
and update_time < DATE_ADD(#{updateTime}, INTERVAL 1 MINUTE) and update_time &lt; DATE_ADD(#{updateTime, javaType=java.util.Date, jdbcType=TIMESTAMP}, INTERVAL 1 MINUTE)
</if> </if>
</where> </where>
</select> </select>
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="totalGrossWeight != null">#{totalGrossWeight},</if> <if test="totalGrossWeight != null">#{totalGrossWeight},</if>
<if test="type != null">#{type},</if> <if test="type != null">#{type},</if>
<if test="warningValue != null">#{warningValue},</if> <if test="warningValue != null">#{warningValue},</if>
<if test="updateTime != null">#{updateTime},</if> <if test="updateTime != null">#{updateTime, javaType=java.util.Date, jdbcType=TIMESTAMP},</if>
</trim> </trim>
</insert> </insert>
@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="totalGrossWeight != null">total_gross_weight = #{totalGrossWeight},</if> <if test="totalGrossWeight != null">total_gross_weight = #{totalGrossWeight},</if>
<if test="type != null">type = #{type},</if> <if test="type != null">type = #{type},</if>
<if test="warningValue != null">warning_value = #{warningValue},</if> <if test="warningValue != null">warning_value = #{warningValue},</if>
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime, javaType=java.util.Date, jdbcType=TIMESTAMP},</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>

Loading…
Cancel
Save