| | |
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | | import java.text.SimpleDateFormat;
|
| | | import java.util.Collections;
|
| | | import java.util.Date;
|
| | | import java.util.HashMap;
|
| | | import java.util.List;
|
| | | import java.util.*;
|
| | |
|
| | | @Service("orderService")
|
| | | public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
|
| | |
| | | throw new CoolException("更新明细索引失败");
|
| | | }
|
| | |
|
| | | mat.setUtiliz(mat.getUtiliz() + 1);
|
| | | mat.setUtiliz(Objects.isNull(mat.getUtiliz()) ? 0 : mat.getUtiliz() + 1);
|
| | |
|
| | | if (!matService.updateById(mat)) {
|
| | | throw new CoolException("物料使用率修改失败!!");
|