修改 数据库名称

master
wangh 7 months ago
parent 6c95bc911c
commit cfe95cac21

@ -6,9 +6,12 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://175.27.215.92:3306/bgs_wms_2024?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# url: jdbc:mysql://175.27.215.92:3306/bgs_wms_2024?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: root
# password: haiwei@123
url: jdbc:mysql://10.32.128.150:6606/bgs-rfid-track?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: root
password: haiwei@123
password: Haiwei@123 #150
# 从库数据源
slave:
# 从数据源开关/默认关闭

@ -16,7 +16,7 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口默认为80
port: 80
port: 90
servlet:
# 应用的访问路径
context-path: /

@ -78,7 +78,7 @@ public class ApiController {
if (apkVersion==null){
apkVersion=new APKVersion();
apkVersion.setUpdateStatus(0);
}else {
apkVersion.setUpdateStatus(1);

@ -7,7 +7,7 @@
select cargo_frame_epc from ledger_instant_binding where waybill_number=#{code} limit 1
</select>
<insert id="insertLedgerBinding">
INSERT INTO bgs_wms_2024.ledger_instant_binding (cargo_frame_epc, waybill_number) VALUES (#{param1}, #{param2});
INSERT INTO ledger_instant_binding (cargo_frame_epc, waybill_number) VALUES (#{param1}, #{param2});
</insert>
<select id="findBindingList" resultType="string">
@ -20,6 +20,6 @@
delete from ledger_instant_binding WHERE cargo_frame_epc = #{param1} and waybill_number = #{param2}
</delete>
<update id="blueToothSubmit">
UPDATE bgs_wms_2024.base_location_info SET remark = #{param2} WHERE location_code = #{param1}
UPDATE base_location_info SET remark = #{param2} WHERE location_code = #{param1}
</update>
</mapper>
Loading…
Cancel
Save