1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

体温上报功能完成;小程序更新npm依赖版本

This commit is contained in:
2022-12-28 20:30:18 +08:00
parent 432ba2b812
commit 7d7a9313d5
13 changed files with 1109 additions and 876 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.epp.access.dao.ReportDao">
<insert id="insert" parameterType="com.cxyxiaomo.epp.common.pojo.Report">
INSERT INTO report (`user_id`, `name`, `address`, `time`, `temperature`)
VALUES (#{userId}, #{name}, #{address}, #{time}, #{temperature})
</insert>
</mapper>

View File

@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.epp.access.dao.AccessDao">
<mapper namespace="com.cxyxiaomo.epp.access.dao.SettingDao">
<insert id="updateSetting" parameterType="com.cxyxiaomo.epp.common.pojo.Setting">
INSERT INTO setting (`key`, `value`, `time`)
VALUES (#{key}, #{value}, #{time})