|  |  |  | 
|---|
|  |  |  | import com.zy.asrs.entity.OrderDetl; | 
|---|
|  |  |  | import com.zy.asrs.service.OrderDetlService; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.service.impl.ServiceImpl; | 
|---|
|  |  |  | import org.apache.poi.poifs.crypt.dsig.OOXMLURIDereferencer; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  | return this.baseMapper.addToLogTable(orderDetl) > 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public boolean increaseQtyByOrderNo(String orderNo, String matnr, String batch, Double qty) { | 
|---|
|  |  |  | return this.baseMapper.increaseQtyByOrderNo(orderNo, matnr, batch, qty) > 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 入出库任务生成时,更新单据表中作业数量 | 
|---|
|  |  |  | * @param orderId | 
|---|
|  |  |  | 
|---|
|  |  |  | public boolean increaseWorkQty(Long orderId, String matnr, String batch, Double workQty) { | 
|---|
|  |  |  | return this.baseMapper.increaseWorkQty(orderId, matnr, batch, workQty) > 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public List<OrderDetl> selectByBrand(String brand) { | 
|---|
|  |  |  | return this.baseMapper.selectByBrand(brand); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public List<OrderDetl> selectByModel(String model) { | 
|---|
|  |  |  | return this.baseMapper.selectByModel(model); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|