文档库-分阶段实施详情相关开发。
This commit is contained in:
+4
@@ -86,4 +86,8 @@ public class PhasedImplementationDetailsEO implements Serializable {
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remarks;
|
||||
|
||||
/**排序号*/
|
||||
@Excel(name = "排序号", width = 15)
|
||||
@ApiModelProperty(value = "排序号")
|
||||
private Integer orderNum;
|
||||
}
|
||||
|
||||
+6
@@ -1737,6 +1737,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
for (Map.Entry<String, Object> entry : map.entrySet()) {
|
||||
|
||||
String key = entry.getKey();
|
||||
if(StringUtils.equals(key,"phasedImplementationDetailsEOList")){
|
||||
continue;
|
||||
}
|
||||
Object value = entry.getValue();
|
||||
//es全文新增数据(数据转换)
|
||||
esFullText(cut, fieldList, categoryList, dictItemList, mapList, sbCn,sbEn, entry);
|
||||
@@ -6727,10 +6730,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
if(map.containsKey("phasedImplementationDetailsEOList")){
|
||||
PhasedImplementationDetailsEO phasedImplDetailsEO = null;
|
||||
JSONArray phasedImplDetailsEOJsonArr = JSONObject.parseArray(JSONObject.toJSONString(map.get("phasedImplementationDetailsEOList")));
|
||||
Integer orderNum = 1;
|
||||
for (Object phasedImplDetailsEOJson : phasedImplDetailsEOJsonArr) {
|
||||
phasedImplDetailsEO = JSONObject.parseObject(JSONObject.toJSONString(phasedImplDetailsEOJson),PhasedImplementationDetailsEO.class);
|
||||
phasedImplDetailsEO.setBussDocumentLibraryId(id);
|
||||
phasedImplDetailsEO.setOrderNum(orderNum);
|
||||
phasedImplDetailsEOList.add(phasedImplDetailsEO);
|
||||
orderNum ++;
|
||||
}
|
||||
|
||||
boolean insertPhasedBatchFlag = this.phasedImplementationDetailsEOService.insertBatch(phasedImplDetailsEOList);
|
||||
|
||||
Reference in New Issue
Block a user