新增政府机关、丧葬设施抓取

This commit is contained in:
沈健
2021-08-04 13:07:52 +08:00
parent 2c24a623a7
commit a940ba26ff
2 changed files with 15 additions and 12 deletions
@@ -12,7 +12,7 @@ import com.fangjia.script.util.DateUtils
class DingTalkUtils {
static main(String[] args) {
Date now = DateUtils.parseFromTightByPattern("2021-06-01", "yyyy-MM-dd") ;
Date now = DateUtils.parseFromTightByPattern("2021-07-01", "yyyy-MM-dd") ;
String startTime = DateUtils.addMonth(now, -1) + " 00:00:00"
String monthStartTime = DateUtils.formatDateByPattern(now, "yyyy-MM-dd HH:mm:ss")
@@ -162,17 +162,20 @@ class SeaweedAroundPoi extends BaseBatch {
}
public static final Map<String,String> KEYWORDS_MAP = new HashMap<String, String>(){{
put("地铁", "150500");
put("公交", "1507");
put("医院", "090100|090101|090200|090202|090203|090204|090205|090206|090207|090208|090209|090210|090211");
put("写字楼", "120201");
put("学校","141200|141201|141202|141203|141204");
put("银行","1601|1603");
put("大型超市","0604");
put("商场","0601");
put("餐饮","0501|0502|0503|0504");
put("旅游景点","110000");
put("图书馆","140500");
// put("地铁", "150500");
// put("公交", "1507");
// put("医院", "090100|090101|090200|090202|090203|090204|090205|090206|090207|090208|090209|090210|090211");
// put("写字楼", "120201");
// put("学校","141200|141201|141202|141203|141204");
// put("银行","1601|1603");
// put("大型超市","0604");
// put("商场","0601");
// put("餐饮","0501|0502|0503|0504");
// put("旅游景点","110000");
// put("图书馆","140500");
put("政府机关","130100|130101|130102|130103|130104|130105|130106|130107");
put("丧葬设施", "071900|071901|071902|071903")
}};
@Override