|
@ -48,7 +48,7 @@ public class HealthMessageJob implements Job {
|
|
|
now=getYesterday(0,new Date());
|
|
|
}
|
|
|
//删除原来的数据
|
|
|
String deleteSql="delete from wlyy_message where type=3 and czrq >= '"+yesterday+"17:00:00'and czqr <= '"+now+" 17:00:00'";
|
|
|
String deleteSql="delete from wlyy_message where type=3 and czrq >= '"+yesterday+" 17:00:00'and czrq <= '"+now+" 17:00:00'";
|
|
|
jdbcTemplate.execute(deleteSql);
|
|
|
//生成新的数据
|
|
|
String sql="select doctor,doctor_name from wlyy_sign_family " +
|