feat: There is no way the,Laws
This commit is contained in:
@@ -69,9 +69,14 @@ public class SendLawsMQService {
|
||||
public void insertOrUpdateBussInfo(Map<String,Object> bussMap) throws Exception {
|
||||
String addOrUpdate = bussMap.get("addOrUpdate").toString();
|
||||
String sarBuss = bussMap.get("sarLaws").toString();
|
||||
// JSONObject jsonobject = JSONObject.fromObject(sarBuss);
|
||||
JSONObject jsonobject = JSONObject.fromObject(sarBuss);
|
||||
SarLawsStandInfo infoEO = com.alibaba.fastjson.JSONObject.parseObject(sarBuss,SarLawsStandInfo.class);
|
||||
|
||||
if(infoEO.getMapItems() == null || infoEO.getMapItems().isEmpty()){
|
||||
if(jsonobject.get("mapItems") != null){
|
||||
infoEO.setMapItems(net.sf.json.JSONObject.fromObject(jsonobject.get("mapItems")));
|
||||
}
|
||||
}
|
||||
// SarLawsStandInfo infoEO = (SarLawsStandInfo) JSONObject.toBean(jsonobject,SarLawsStandInfo.class);
|
||||
|
||||
String FZRQFSRQ = null;
|
||||
@@ -83,6 +88,7 @@ public class SendLawsMQService {
|
||||
String sarStandAttrEOStr = infoEO.getSarStandAttrEOStr();
|
||||
Map<String,Object> attrInfoMap = JSONObject.fromObject(sarStandAttrEOStr);
|
||||
Map<String,Object> infoMap = infoEO.getAttrInfoCaseMap();
|
||||
Map<String,String> infoEOMapItems = infoEO.getMapItems();
|
||||
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||||
//修改索引信息表
|
||||
@@ -233,6 +239,10 @@ public class SendLawsMQService {
|
||||
saveMap.put(field+"Name",fieldValue);
|
||||
}
|
||||
|
||||
if(infoEOMapItems != null && !infoEOMapItems.isEmpty()){
|
||||
saveMap.put("mapItems",infoEOMapItems);
|
||||
}
|
||||
|
||||
//当建立代替时,产生的没有文件的问题
|
||||
if (StringUtils.isBlank(String.valueOf(saveMap.get("content")))) {
|
||||
String context = filterStringIsNotBlank(String.valueOf(saveMap.get("ZCWBLAWS")),true)
|
||||
|
||||
Reference in New Issue
Block a user