|
|
|
@ -7,7 +7,6 @@ import com.logpm.oldproject.service.IOrderDetailService;
|
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
@Service |
|
|
|
@ -19,34 +18,7 @@ public class OrderDetailServiceImpl implements IOrderDetailService {
|
|
|
|
|
@Override |
|
|
|
|
public OrderDetailEntity findByUnitNo(String unitNo) { |
|
|
|
|
QueryWrapper<OrderDetailEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
List<String> ls = new ArrayList<>(); |
|
|
|
|
ls.add("id"); |
|
|
|
|
ls.add("warehouse_id"); |
|
|
|
|
ls.add("test"); |
|
|
|
|
ls.add("area"); |
|
|
|
|
ls.add("source"); |
|
|
|
|
ls.add("is_opai"); |
|
|
|
|
ls.add("number"); |
|
|
|
|
ls.add("detail_number"); |
|
|
|
|
ls.add("unitNo"); |
|
|
|
|
ls.add("mctsTruck"); |
|
|
|
|
ls.add("title"); |
|
|
|
|
ls.add("num"); |
|
|
|
|
ls.add("secondPackName"); |
|
|
|
|
ls.add("secondPackCode"); |
|
|
|
|
ls.add("thirdPackName"); |
|
|
|
|
ls.add("thirdPackCode"); |
|
|
|
|
ls.add("`STATUS`"); |
|
|
|
|
ls.add("waybill_no"); |
|
|
|
|
ls.add("wide"); |
|
|
|
|
ls.add("high"); |
|
|
|
|
ls.add("volume"); |
|
|
|
|
ls.add("unit"); |
|
|
|
|
ls.add("price"); |
|
|
|
|
ls.add("sign_time"); |
|
|
|
|
ls.add("sign_time"); |
|
|
|
|
queryWrapper.select(ls). |
|
|
|
|
eq("unitNo", unitNo); |
|
|
|
|
queryWrapper.eq("unitNo", unitNo); |
|
|
|
|
return orderDetailMapper.selectOne(queryWrapper); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|