parent
584d9fceb2
commit
fd9f26d3c6
|
@ -130,9 +130,9 @@ GSDM,KJND,mlId
|
|||
<if test="jjmc != null and jjmc !='' "> jjmc, </if>
|
||||
<if test="khyh != null and khyh !='' "> khyh, </if>
|
||||
<if test="yhzh != null and yhzh !='' "> yhzh, </if>
|
||||
<if test="ssr != null and ssr !='' "> ssr, </if>
|
||||
<if test="ssrid != null and ssrid !='' "> ssrid, </if>
|
||||
<if test="ssrq != null and ssrq !='' "> ssrq, </if>
|
||||
<!-- <if test="ssr != null and ssr !='' "> ssr, </if>-->
|
||||
<!-- <if test="ssrid != null and ssrid !='' "> ssrid, </if>-->
|
||||
<!-- <if test="ssrq != null and ssrq !='' "> ssrq, </if>-->
|
||||
<if test="jflxdm != null and jflxdm !='' "> jflxdm, </if>
|
||||
<if test="jflxmc != null and jflxmc !='' "> jflxmc, </if>
|
||||
<if test="xmdm != null and xmdm !='' "> xmdm, </if>
|
||||
|
@ -177,9 +177,9 @@ GSDM,KJND,mlId
|
|||
<if test="jjmc != null and jjmc !='' "> #{jjmc}, </if>
|
||||
<if test="khyh != null and khyh !='' "> #{khyh}, </if>
|
||||
<if test="yhzh != null and yhzh !='' "> #{yhzh}, </if>
|
||||
<if test="ssr != null and ssr !='' "> #{ssr}, </if>
|
||||
<if test="ssrid != null and ssrid !='' "> #{ssrid}, </if>
|
||||
<if test="ssrq != null and ssrq !='' "> #{ssrq}, </if>
|
||||
<!-- <if test="ssr != null and ssr !='' "> #{ssr}, </if>-->
|
||||
<!-- <if test="ssrid != null and ssrid !='' "> #{ssrid}, </if>-->
|
||||
<!-- <if test="ssrq != null and ssrq !='' "> #{ssrq}, </if>-->
|
||||
<if test="jflxdm != null and jflxdm !='' "> #{jflxdm}, </if>
|
||||
<if test="jflxmc != null and jflxmc !='' "> #{jflxmc}, </if>
|
||||
<if test="xmdm != null and xmdm !='' "> #{xmdm}, </if>
|
||||
|
|
|
@ -33,10 +33,7 @@ import org.springframework.stereotype.Service;
|
|||
import java.io.*;
|
||||
import java.net.URLDecoder;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
|
@ -517,13 +514,19 @@ public class OerDjmlExtServiceImpl implements IOerDjmlExtService {
|
|||
* @return
|
||||
*/
|
||||
private String timestampConvert(String timestamp,String format){
|
||||
if (StrUtil.isNotEmpty(timestamp) && NumberUtil.isNumber(timestamp)){
|
||||
try {
|
||||
DateTime date = DateUtil.date(Long.valueOf(timestamp));
|
||||
String formattedDate = DateUtil.format(date, "yyyyMMdd");
|
||||
return formattedDate;
|
||||
}catch (Exception e){
|
||||
logger.error("日期转换出错:{}",e);
|
||||
if (StrUtil.isNotEmpty(timestamp)){
|
||||
if (NumberUtil.isNumber(timestamp)){
|
||||
try {
|
||||
DateTime date = DateUtil.date(Long.valueOf(timestamp));
|
||||
String formattedDate = DateUtil.format(date, format);
|
||||
return formattedDate;
|
||||
}catch (Exception e){
|
||||
logger.error("日期转换出错:{}",e);
|
||||
}
|
||||
}else if (timestamp.contains("-")){
|
||||
Date date = DateUtil.parse(timestamp);
|
||||
String formatDate = DateUtil.format(date, format);
|
||||
return formatDate;
|
||||
}
|
||||
}
|
||||
return timestamp;
|
||||
|
|
|
@ -243,8 +243,8 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
|
|||
pubAuditLogEntity.setAuditorId("1");
|
||||
pubAuditLogEntity.setAuditor("系统管理员");
|
||||
pubAuditLogEntity.setAmt(jsonObject.getString("je"));
|
||||
pubAuditLogEntity.setRemark("国子系统送审成功");
|
||||
pubAuditLogEntity.setAtype("国子系统通过");
|
||||
pubAuditLogEntity.setRemark("送审成功");
|
||||
pubAuditLogEntity.setAtype("通过");
|
||||
pubAuditLogEntity.setBillId(maxMlId);
|
||||
pubAuditLogEntity.setModname("OER");
|
||||
pubAuditLogEntity.setFlowcode("000006");
|
||||
|
@ -306,8 +306,8 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
|
|||
pubAuditLogEntity.setAuditorId("1");
|
||||
pubAuditLogEntity.setAuditor("系统管理员");
|
||||
pubAuditLogEntity.setAmt(entity.getJe());
|
||||
pubAuditLogEntity.setRemark("国子系统送审成功");
|
||||
pubAuditLogEntity.setAtype("国子系统通过");
|
||||
pubAuditLogEntity.setRemark("送审成功");
|
||||
pubAuditLogEntity.setAtype("通过");
|
||||
pubAuditLogEntity.setBillId(maxMlId);
|
||||
pubAuditLogEntity.setModname("OER");
|
||||
pubAuditLogEntity.setFlowcode(entity.getFlowcode());
|
||||
|
|
Loading…
Reference in New Issue