优化
This commit is contained in:
parent
14192a0c7d
commit
e961c70260
@ -76,6 +76,7 @@ public class WeatherController {
|
||||
QueryWrapper<Weather> queryWrapper = QueryGenerator.initQueryWrapper(weather);
|
||||
queryWrapper.lambda().ge(Weather::getDate, new Date());
|
||||
queryWrapper.lambda().le(Weather::getDate, DateUtil.offsetDay(new Date(), 7));
|
||||
queryWrapper.lambda().orderByAsc(Weather::getDate);
|
||||
return Result.success(weatherService.list(queryWrapper));
|
||||
}
|
||||
|
||||
|
||||
@ -2500,7 +2500,7 @@
|
||||
count(distinct wa.person_sn,if(pass_type=2,1,null)) exitTodayNum
|
||||
from worker_info wi
|
||||
join worker_attendance wa on wa.person_sn=wi.person_sn
|
||||
where wa.project_sn=#{projectSn} and wa.create_time>=current_date and t.inService_type = 1
|
||||
where wa.project_sn=#{projectSn} and wa.create_time>=current_date and wi.inService_type = 1
|
||||
</select>
|
||||
|
||||
<update id="updateScore">
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#http.port=30250
|
||||
http.port=23912
|
||||
spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.34.221:3306/wisdomsite_other_env_show?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false
|
||||
spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.34.155:3306/wisdomsite_wangc?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false
|
||||
spring.datasource.db1.driver-class-name=com.mysql.jdbc.Driver
|
||||
spring.datasource.db1.username=ENC(XR4C/hvTYCUqudS49Wh/jA==)
|
||||
spring.datasource.db1.password=ENC(LsKaVL2ycDu+uUNoPndYLA==)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user