UtilsMapper.java 916 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.steerinfo.dil.mapper;
  2. import org.apache.ibatis.annotations.Mapper;
  3. import org.apache.ibatis.annotations.Select;
  4. import java.math.BigDecimal;
  5. import java.util.Map;
  6. /**
  7. * @ author :TXF
  8. * @ time :2021/10/26 14:27
  9. */
  10. @Mapper
  11. public interface UtilsMapper {
  12. //查询运输订单最大主键Id
  13. @Select("select seq_omstruck_order.nextval from dual")
  14. BigDecimal selectOrderMaxId();
  15. //查询运输订单子表主键ID
  16. @Select("select seq_omstruck_order_material.nextval from dual")
  17. BigDecimal selectOrderMaterialMaxId();
  18. //通过订单Id修改订单状态
  19. int updateOrderStatusByOrderIdOrNum(Map<String, Object> map);
  20. //通过运输Id 或者运输订单号修改 路段顺序号
  21. int updateLineSeqByOrderIdOrNum(Map<String, Object> map);
  22. //通过运力ID 或车牌号 修改运力状态
  23. int updateCapacityByCarIdOrNum(Map<String, Object> map);
  24. }