|
|
|
@ -1046,11 +1046,10 @@ public class IoCheckInoutService {
|
|
|
|
|
if (orderEntity.getStatus() == ConstantStatus.ORDER_STATUS_AUDITED) {
|
|
|
|
|
orderEntity.setDealStatus(ConstantStatus.ORDER_DEAL_CHECK);
|
|
|
|
|
orderEntity.setUpdateTime(new Date());
|
|
|
|
|
orderEntity.setReviewUser(orderEntity.getCheckUser());
|
|
|
|
|
if (IntUtil.value(orderEntity.getFromType()) != ConstantStatus.FROM_UDISP)
|
|
|
|
|
orderEntity.setAuditTime(new Date());
|
|
|
|
|
if (StrUtil.isEmpty(orderEntity.getReviewUser())) {
|
|
|
|
|
orderEntity.setReviewUser(orderEntity.getReviewUser());
|
|
|
|
|
orderEntity.setReviewUser(orderEntity.getCheckUser());
|
|
|
|
|
}
|
|
|
|
|
orderService.update(orderEntity);
|
|
|
|
|
genInv(orderEntity, bussinessTypeEntity);
|
|
|
|
|