update code
parent
d89aed535d
commit
38063da1ac
|
@ -49,12 +49,12 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
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
|
username: root
|
||||||
password: Sxyanzhu@cf123
|
#password: Sxyanzhu@cf123
|
||||||
#url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
url: jdbc:mysql://192.168.126.19:3306/yanzhu_jh_test2024?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||||
#username: root
|
#username: root
|
||||||
#password: hadoopspring123
|
password: hadoopspring123
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
|
|
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="initList" parameterType="SurProjectAttendanceUnitpay" resultMap="SurProjectAttendanceUnitpayResult">
|
<select id="initList" parameterType="SurProjectAttendanceUnitpay" resultMap="SurProjectAttendanceUnitpayResult">
|
||||||
select a.cfgId,a.groupName,a.workTypeCode,a.workTypeName
|
select a.cfgId,a.groupName,a.workTypeCode,a.workTypeName
|
||||||
from sur_project_attendance_data_${year} a
|
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
|
group by a.cfgId, a.groupName,a.workTypeCode,a.workTypeName
|
||||||
</select>
|
</select>
|
||||||
<select id="selectSurProjectAttendanceUnitpayById" parameterType="Long" resultMap="SurProjectAttendanceUnitpayResult">
|
<select id="selectSurProjectAttendanceUnitpayById" parameterType="Long" resultMap="SurProjectAttendanceUnitpayResult">
|
||||||
|
|
Loading…
Reference in New Issue