|
@@ -30,7 +30,8 @@ public interface ChuanyunWorkHourDao extends GalaxisRepository<ChuanyunWorkHourD
|
|
|
"chuanyun_day_log.day_log_date " +
|
|
|
"FROM chuanyun_day_log "+
|
|
|
"LEFT JOIN chuanyun_log ON chuanyun_day_log.parent_object_id = chuanyun_log.object_id " +
|
|
|
- " WHERE chuanyun_log.user_id = ? " +
|
|
|
+ " WHERE chuanyun_log.user_id = ?" +
|
|
|
+ "and status!=3" +
|
|
|
// "AND chuanyun_log.log_date>='2020-08-12'" +
|
|
|
" GROUP BY chuanyun_day_log.project_id," +
|
|
|
"chuanyun_log.user_id," +
|
|
@@ -77,6 +78,7 @@ public interface ChuanyunWorkHourDao extends GalaxisRepository<ChuanyunWorkHourD
|
|
|
"LEFT JOIN chuanyun_log ON chuanyun_day_log.parent_object_id = chuanyun_log.object_id " +
|
|
|
" WHERE chuanyun_log.user_id = ? " +
|
|
|
"AND DATE_SUB(CURDATE(), INTERVAL 1 MONTH) <= date(chuanyun_day_log.day_log_date)" +
|
|
|
+ "AND status!=3" +
|
|
|
" GROUP BY chuanyun_day_log.project_id," +
|
|
|
"chuanyun_log.user_id," +
|
|
|
"chuanyun_day_log.project_type," +
|
|
@@ -102,6 +104,7 @@ public interface ChuanyunWorkHourDao extends GalaxisRepository<ChuanyunWorkHourD
|
|
|
"LEFT JOIN chuanyun_log ON chuanyun_day_log.parent_object_id = chuanyun_log.object_id " +
|
|
|
"WHERE chuanyun_log.user_id = ? " +
|
|
|
"AND chuanyun_day_log.day_log_date =? " +
|
|
|
+ "AND status!=3 " +
|
|
|
"GROUP BY chuanyun_log.user_id," +
|
|
|
"chuanyun_day_log.day_log_date",
|
|
|
nativeQuery = true)
|