车长类型修改

This commit is contained in:
王帅 2025-04-23 11:03:31 +08:00
parent 22c080f77a
commit b6c81caf6e
4 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ public class TmsIogisticsPrice implements Serializable {
/**车长*/ /**车长*/
@Excel(name = "车长", width = 15) @Excel(name = "车长", width = 15)
@ApiModelProperty(value = "车长") @ApiModelProperty(value = "车长")
private java.lang.Integer carLong; private java.lang.Double carLong;
/**装卸吨位*/ /**装卸吨位*/
@Excel(name = "装卸吨位", width = 15) @Excel(name = "装卸吨位", width = 15)
@ApiModelProperty(value = "装卸吨位") @ApiModelProperty(value = "装卸吨位")

View File

@ -55,7 +55,7 @@ public class VehiclePallet implements Serializable {
/**车长*/ /**车长*/
@Excel(name = "车长", width = 15) @Excel(name = "车长", width = 15)
@ApiModelProperty(value = "车长") @ApiModelProperty(value = "车长")
private java.lang.Integer carLong; private java.lang.Double carLong;
/**托数*/ /**托数*/
@Excel(name = "托数", width = 15) @Excel(name = "托数", width = 15)
@ApiModelProperty(value = "托数") @ApiModelProperty(value = "托数")

View File

@ -133,7 +133,7 @@ public class VehicleDemandServiceImpl extends ServiceImpl<VehicleDemandMapper, V
throw new IllegalArgumentException("键格式错误: " + key); throw new IllegalArgumentException("键格式错误: " + key);
}*/ }*/
String carType = parts[0]; // 车类型 String carType = parts[0]; // 车类型
int carLong = Integer.parseInt(parts[1]); // 车长度 double carLong = Double.parseDouble(parts[1]); // 车长度
// 根据车辆数量生成多条记录 // 根据车辆数量生成多条记录
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {

View File

@ -71,7 +71,7 @@ public class VehicleDemandCount implements Serializable {
/**车长*/ /**车长*/
@Excel(name = "车长", width = 15) @Excel(name = "车长", width = 15)
@ApiModelProperty(value = "车长") @ApiModelProperty(value = "车长")
private java.lang.Integer carLong; private java.lang.Double carLong;
/**送货区域*/ /**送货区域*/
@Excel(name = "送货区域", width = 15) @Excel(name = "送货区域", width = 15)
@ApiModelProperty(value = "送货区域") @ApiModelProperty(value = "送货区域")