bug修复

master
wj 2 years ago
parent 2e94266bea
commit f643343b2a

@ -338,7 +338,8 @@ public class IoAddInoutService {
IoOrderEntity order = orderService.findByBillNo(orderId);
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(order.getAction());
if (StrUtil.isBlank(bussinessTypeEntity.getSupplementOrderType())) {
return ResultVOUtils.error(ResultEnum.valueOf("此类型单据不可补单"));
// return ResultVOUtils.error(ResultEnum.valueOf("此类型单据不可补单"));
return ResultVOUtils.error(ResultEnum.NOT_NETWORK, "此类型单据不可补单");
}
IoOrderEntity supplementOrder = new IoOrderEntity();
BeanUtil.copyProperties(order, supplementOrder);

@ -19,8 +19,8 @@ import org.springframework.stereotype.Component;
import javax.annotation.Resource;
//@Component
//@EnableScheduling
@Component
@EnableScheduling
public class AsyncHeartTask implements SchedulingConfigurer {
final Logger logger = LoggerFactory.getLogger(AsyncHeartTask.class);

Loading…
Cancel
Save