Merge branch 'develop-business-css' of http://121.37.111.42:3000/ThbTech/JavaProjectRepo into develop-business-css
This commit is contained in:
commit
3e3fad9215
@ -8,16 +8,17 @@ spring:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://43.138.168.68:3306/businessdb_css?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
|
||||
username: root
|
||||
password: ylfw20230626@
|
||||
password: q3eef875%&4@44%*3
|
||||
slave:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://43.138.168.68:3306/businessdb_css?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
|
||||
username: root
|
||||
password: ylfw20230626@
|
||||
password: q3eef875%&4@44%*3
|
||||
|
||||
file-space:
|
||||
files: D:\css\files\
|
||||
system: D:\css\system\
|
||||
model-path: E:\python_coding\keffCenter\models\
|
||||
security:
|
||||
dev:
|
||||
permit: true
|
||||
|
||||
23
business-css/src/main/resources/mapper/EventMapper.xml
Normal file
23
business-css/src/main/resources/mapper/EventMapper.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.yfd.business.css.mapper.EventMapper">
|
||||
|
||||
<select id="selectByScenarioId"
|
||||
parameterType="string"
|
||||
resultType="com.yfd.business.css.domain.Event">
|
||||
SELECT
|
||||
event_id,
|
||||
scenario_id,
|
||||
device_id,
|
||||
material_id,
|
||||
attr_changes,
|
||||
trigger_time,
|
||||
'' as label
|
||||
FROM event
|
||||
WHERE scenario_id = #{scenarioId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue
Block a user