parent
327e7e8e3e
commit
fb4c8f5922
|
|
@ -63,7 +63,7 @@ public class SappzFormPlugin extends AbstractFormPlugin {
|
|||
Boolean isselfprocurement = (Boolean) this.getModel().getValue("shjh_isselfprocurement");//是否自行采购
|
||||
|
||||
// 日期格式
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
|
||||
JSONArray IT_LIST = new JSONArray();
|
||||
// 添加公司过滤条件--改成多选
|
||||
for (DynamicObject doinfo : shjhOrgfields) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public class QuerySapCreatePayApplyTask extends AbstractTask {
|
|||
|
||||
// LocalDate currentDate = LocalDate.now();// 获取当前日期
|
||||
LocalDate newDate = currentDate.plusDays(daysToAdd);// 计算新日期
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");// 格式化日期
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd");// 格式化日期
|
||||
|
||||
String formattedoldDate = currentDate.format(formatter);//开始日期
|
||||
String formattedNewDate = newDate.format(formatter);//结束日期
|
||||
|
|
|
|||
Loading…
Reference in New Issue