|
@@ -362,7 +362,8 @@ public class TimingTask {
|
|
|
LocalDate end=LocalDate.now();
|
|
|
JSONArray jsonArrayFilter = new JSONArray();
|
|
|
JSONObject filter1 = new JSONObject();
|
|
|
- WxCorpTemplate template = wxCorpTemplateService.getById(7);
|
|
|
+// WxCorpTemplate template = wxCorpTemplateService.getById(7);
|
|
|
+ WxCorpTemplate template = wxCorpTemplateService.getOne(new QueryWrapper<WxCorpTemplate>().eq("company_id",7).eq("type",1));
|
|
|
filter1.put("key","template_id");
|
|
|
filter1.put("value",template.getTemplateId());
|
|
|
jsonArrayFilter.add(filter1);
|
|
@@ -866,9 +867,9 @@ public class TimingTask {
|
|
|
|
|
|
|
|
|
public void getTemporaryJobApplicationNewWithDate(String endDate,String startDate) throws Exception {
|
|
|
- if(isDev){
|
|
|
+ /*if(isDev){
|
|
|
return;
|
|
|
- }
|
|
|
+ }*/
|
|
|
DateTimeFormatter df=DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
// LocalDate start=LocalDate.now().minusDays(7);
|
|
|
// LocalDate end=LocalDate.now();
|