|
|
@@ -5162,7 +5162,7 @@ public class ExcelTabController extends BladeController {
|
|
|
return R.data(query);
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 16 18 * * ?")
|
|
|
+ //@Scheduled(cron = "0 25 11 * * ?")
|
|
|
@GetMapping("/checkAllNodeDate")
|
|
|
public void checkAllNodeDate() throws Exception {
|
|
|
String sql="select * from m_wbs_tree_contract where is_deleted=0 and type=2 and date_is_complete=2 AND html_url is not null and p_id is not null";
|
|
|
@@ -5178,11 +5178,11 @@ public class ExcelTabController extends BladeController {
|
|
|
if(parent==null){
|
|
|
continue;
|
|
|
}
|
|
|
- String informationSql="select * from u_information_query where wbs_id="+parent.getPKeyId()+" and contract_id="+parent.getContractId()+" and is_deleted=0";
|
|
|
- List<InformationQuery> query = jdbcTemplate.query(informationSql, new BeanPropertyRowMapper<>(InformationQuery.class));
|
|
|
- if(query.isEmpty()||query.get(0).getStatus()!=0){
|
|
|
- continue;
|
|
|
- }
|
|
|
+// String informationSql="select * from u_information_query where wbs_id="+parent.getPKeyId()+" and contract_id="+parent.getContractId()+" and is_deleted=0";
|
|
|
+// List<InformationQuery> query = jdbcTemplate.query(informationSql, new BeanPropertyRowMapper<>(InformationQuery.class));
|
|
|
+// if(query.isEmpty()||query.get(0).getStatus()!=0){
|
|
|
+// continue;
|
|
|
+// }
|
|
|
List<WbsTreeContract> wbsTreeContractList = entry.getValue();
|
|
|
boolean flag=true;
|
|
|
for (WbsTreeContract contract : wbsTreeContractList) {
|