用车需求计算查询添加供应商名称
This commit is contained in:
parent
e6a8109ded
commit
5315175871
@ -74,6 +74,9 @@ public class VehicleDemandCount implements Serializable {
|
||||
@Excel(name = "供应商编码", width = 15)
|
||||
@ApiModelProperty(value = "供应商编码")
|
||||
private java.lang.String supplierCode;
|
||||
/**供应商名称*/
|
||||
@TableField(exist = false)
|
||||
private java.lang.String supplierName;
|
||||
/**送货区域*/
|
||||
@Excel(name = "送货区域", width = 15)
|
||||
@ApiModelProperty(value = "送货区域")
|
||||
|
@ -4,12 +4,13 @@
|
||||
|
||||
<select id="getByVdNo"
|
||||
resultType="org.jeecg.modules.tms.outbound.vehicledemandcount.entity.VehicleDemandCount">
|
||||
select a.*, b.tandard_price from tms_vehicle_demand_count a
|
||||
select a.*, b.tandard_price, b.supplier_name from tms_vehicle_demand_count a
|
||||
left join tms_iogistics_price b
|
||||
on a.car_type = b.car_type
|
||||
and a.car_long = b.car_long
|
||||
and a.pick_up_hub = b.start_city
|
||||
and a.delivery_address = b.target_city
|
||||
and a.supplier_code = b.supplier_code
|
||||
where a.vd_no = #{vdNo}
|
||||
</select>
|
||||
</mapper>
|
Loading…
x
Reference in New Issue
Block a user