update code

dev
lijun 2024-11-25 22:15:30 +08:00
parent d89aed535d
commit 38063da1ac
2 changed files with 5 additions and 5 deletions

View File

@ -49,12 +49,12 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://62.234.3.186:3306/yanzhu_jh_2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
#url: jdbc:mysql://62.234.3.186:3306/yanzhu_jh_2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: root
password: Sxyanzhu@cf123
#url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
#password: Sxyanzhu@cf123
url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
#username: root
#password: hadoopspring123
password: hadoopspring123
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="initList" parameterType="SurProjectAttendanceUnitpay" resultMap="SurProjectAttendanceUnitpayResult">
select a.cfgId,a.groupName,a.workTypeCode,a.workTypeName
from sur_project_attendance_data_${year} a
where a.cfgId=23
where a.cfgId=#{cfgId}
group by a.cfgId, a.groupName,a.workTypeCode,a.workTypeName
</select>
<select id="selectSurProjectAttendanceUnitpayById" parameterType="Long" resultMap="SurProjectAttendanceUnitpayResult">