|
|
|
|
@ -156,11 +156,12 @@ public class LdTwoOutStorageServiceImpl extends ServiceImpl<LdTwoOutStorageMappe |
|
|
|
|
tableRowList.add(tableRow); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 2. 创建主要内容(完全按照您的JSON结构)
|
|
|
|
|
// 2. 创建主要内容
|
|
|
|
|
List<Content> contents = Arrays.asList( |
|
|
|
|
new Content(TwoOutApproverConstant.TEXT, TwoOutApproverConstant.TEXT_RECEIVER, Value.textValue(dto.getLdTwoOutStorage().getProposerName())), |
|
|
|
|
new Content(TwoOutApproverConstant.TEXT, TwoOutApproverConstant.TEXT_DEPARTMENT, Value.textValue(dto.getLdTwoOutStorage().getDepartment())), |
|
|
|
|
new Content(TwoOutApproverConstant.TEXT, TwoOutApproverConstant.TEXT_ORDER_NO, Value.textValue(dto.getLdTwoOutStorage().getOrderNo())), |
|
|
|
|
new Content(TwoOutApproverConstant.TEXT, TwoOutApproverConstant.OUT_GROUP, Value.textValue(dto.getLdTwoOutStorage().getGroupName().equals("自由出库") ? null : dto.getLdTwoOutStorage().getGroupName())), |
|
|
|
|
new Content(TwoOutApproverConstant.TEXT, TwoOutApproverConstant.TEXTAREA_REASON, Value.textValue(dto.getLdTwoOutStorage().getReason())), |
|
|
|
|
new Content(TwoOutApproverConstant.TABLE, TwoOutApproverConstant.TABLE_MATERIAL_LIST, |
|
|
|
|
Value.tableValue(tableRowList)) |
|
|
|
|
|