|
|
|
@ -532,11 +532,15 @@ public class SecondBranchReceivingPushArchivesService implements KeyWord {
|
|
|
|
|
StringBuilder context = new StringBuilder();
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
String swrq = Util.null2String(requesData.get("swrq"));
|
|
|
|
|
String swrq = Util.null2String(requesData.get("lwrq"));
|
|
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
|
LocalDate date = LocalDate.parse(swrq, formatter);
|
|
|
|
|
int year = date.getYear();
|
|
|
|
|
context.append(year).append("|");
|
|
|
|
|
if (StringUtil.isEmpty(swrq)){
|
|
|
|
|
context.append("").append("|");
|
|
|
|
|
}else {
|
|
|
|
|
LocalDate date = LocalDate.parse(swrq, formatter);
|
|
|
|
|
int year = date.getYear();
|
|
|
|
|
context.append(year).append("|");
|
|
|
|
|
}
|
|
|
|
|
String jghwt = Util.null2String(requesData.get("jghwt"));
|
|
|
|
|
context.append(jghwt).append("|");
|
|
|
|
|
// String swh = Util.null2String(requesData.get("swh"));
|
|
|
|
@ -594,7 +598,13 @@ public class SecondBranchReceivingPushArchivesService implements KeyWord {
|
|
|
|
|
//TODO
|
|
|
|
|
context.append(ArchivesUtil.getAssociatedPersons(requestid,false)).append("|"); // 28 相关人员 -> 参与人员
|
|
|
|
|
context.append("智慧OA").append("|"); // 29 数据来源 -> 数据来源
|
|
|
|
|
context.append(year).append("|"); // 30 形成年度 -> 年份
|
|
|
|
|
if (StringUtil.isEmpty(swrq)){
|
|
|
|
|
context.append("").append("|"); // 30 形成年度 -> 年份
|
|
|
|
|
}else {
|
|
|
|
|
LocalDate date = LocalDate.parse(swrq, formatter);
|
|
|
|
|
int year = date.getYear();
|
|
|
|
|
context.append(year).append("|"); // 30 形成年度 -> 年份
|
|
|
|
|
}
|
|
|
|
|
context.append(String.join("&&", zwFileName)).append("|"); // 31 正文名称
|
|
|
|
|
context.append(String.join("&&", fjFileName)).append("|"); // 32 附件名称
|
|
|
|
|
context.append("togd"+requestid).append("|"); // 33 主键
|
|
|
|
|