|
@@ -38,16 +38,19 @@ func startCheckData(sid, eid string) {
|
|
|
//更新-
|
|
|
update_info := make(map[string]interface{}, 0)
|
|
|
//审查-发布时间
|
|
|
- getCheckDataPublishtime(tmp, update_info)
|
|
|
+ getCheckDataPub(tmp, update_info)
|
|
|
+ //审查-单位信息
|
|
|
+ getCheckDataUnit(tmp, update_info)
|
|
|
+ //是否删除
|
|
|
is_unset := false
|
|
|
- if update_ai { //审查-大模型与抽取
|
|
|
+ if update_ai {
|
|
|
is_unset = ChooseCheckDataAI(tmp, &update_info)
|
|
|
if update_info["com_package"] == nil { //构建单包信息···
|
|
|
com_package := CreatSingleFieldInfo(tmp, update_info)
|
|
|
update_info["com_package"] = com_package
|
|
|
}
|
|
|
}
|
|
|
- //最终计算是否清洗
|
|
|
+ //最终更新
|
|
|
if len(update_info) > 0 {
|
|
|
UpdateTask.updatePool <- []map[string]interface{}{
|
|
|
update_id,
|