Showing
2 changed files
with
7 additions
and
1 deletions
| ... | ... | @@ -246,7 +246,13 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde |
| 246 | 246 | } |
| 247 | 247 | if (!StringUtil.isBlank(vo.getContractCreateById())) { |
| 248 | 248 | data.setContractCreateById(vo.getContractCreateById()); |
| 249 | + data.setCreateById(vo.getContractCreateById()); | |
| 249 | 250 | } |
| 251 | + | |
| 252 | + if (StringUtil.isBlank(data.getContractCreateById())) { | |
| 253 | + data.setCreateById(SecurityUtil.getCurrentUser().getId()); | |
| 254 | + } | |
| 255 | + | |
| 250 | 256 | data.setSampleOrder(vo.isSampleOrder()); |
| 251 | 257 | |
| 252 | 258 | ... | ... |