Commit e10d993d authored by 竹天卫's avatar 竹天卫

导出问题修改

parent 9679eb3e
......@@ -240,9 +240,11 @@ public class PlanStandardPurchaseServiceImpl extends ServiceImpl<PlanStandardPur
List<PlanStandardPurchaseVo> planStandardPurchaseVos = standardPurchaseMapper.wordList(map);
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy/mm");
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy/MM/dd");
planStandardPurchaseVos.forEach(arg -> {
arg.setCreateTimeStr(arg.getCreateTime().format(dateTimeFormatter));
System.out.println(arg.getPurchaseDate().format(dateTimeFormatter));
arg.setCreateTimeStr(arg.getPurchaseDate().format(dateTimeFormatter));
if (StrUtil.isEmpty(arg.getRemark())){
arg.setRemark("");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment