product
杨世强 2 years ago
parent 116b77f15c
commit cec35a8d5f

@ -85,7 +85,7 @@ public class MaterialCrForm {
/** 读取时间 **/ /** 读取时间 **/
@JsonProperty("readDate") @JsonProperty("readDate")
private String readDate; private Long readDate;
/** 错误信息 **/ /** 错误信息 **/
@JsonProperty("errorMessage") @JsonProperty("errorMessage")

@ -89,7 +89,7 @@ public class MaterialInfoVO{
/** 读取时间 **/ /** 读取时间 **/
@JsonProperty("readDate") @JsonProperty("readDate")
private String readDate; private Long readDate;
/** 错误信息 **/ /** 错误信息 **/
@JsonProperty("errorMessage") @JsonProperty("errorMessage")

@ -107,8 +107,9 @@ public class MaterialListVO{
/** 读取时间 **/ /** 读取时间 **/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
@JsonProperty("readDate") @JsonProperty("readDate")
private String readDate; private Date readDate;
/** 错误信息 **/ /** 错误信息 **/

@ -105,7 +105,7 @@ public class MaterialUpForm{
/** 读取时间 **/ /** 读取时间 **/
@JsonProperty("readDate") @JsonProperty("readDate")
private String readDate; private Long readDate;
/** 错误信息 **/ /** 错误信息 **/

@ -52,7 +52,7 @@ import jnpf.util.enums.FileTypeEnum;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Slf4j @Slf4j
@RestController @RestController
@ -87,11 +87,11 @@ public class TradeuploadController {
//处理id字段转名称若无需转或者为空可删除 //处理id字段转名称若无需转或者为空可删除
for(TradeuploadEntity entity:list){ for(TradeuploadEntity entity:list){
Map<String,Object> materialCodeMap = new HashMap<>(); Map<String,Object> materialCodeMap = new HashMap<>();
entity.setMaterialCode(generaterSwapUtil.getPopupSelectValue("381037852907038533","id","item_code",entity.getMaterialCode(),materialCodeMap)); entity.setMaterialCode(generaterSwapUtil.getPopupSelectValue("381037852907038533","id","item_code",entity.getMaterialCode(),materialCodeMap));
Map<String,Object> salesNameMap = new HashMap<>(); Map<String,Object> salesNameMap = new HashMap<>();
entity.setSalesName(generaterSwapUtil.getPopupSelectValue("381038993740949317","id","contract_name",entity.getSalesName(),salesNameMap)); entity.setSalesName(generaterSwapUtil.getPopupSelectValue("381038993740949317","id","contract_name",entity.getSalesName(),salesNameMap));
Map<String,Object> licenseNoMap = new HashMap<>(); Map<String,Object> licenseNoMap = new HashMap<>();
entity.setLicenseNo(generaterSwapUtil.getPopupSelectValue("381432451370615173","id","ticketno",entity.getLicenseNo(),licenseNoMap)); entity.setLicenseNo(generaterSwapUtil.getPopupSelectValue("381432451370615173","id","ticketno",entity.getLicenseNo(),licenseNoMap));
entity.setPoundPictures(generaterSwapUtil.getFileNameInJson(entity.getPoundPictures())); entity.setPoundPictures(generaterSwapUtil.getFileNameInJson(entity.getPoundPictures()));
entity.setVehiclePictures(generaterSwapUtil.getFileNameInJson(entity.getVehiclePictures())); entity.setVehiclePictures(generaterSwapUtil.getFileNameInJson(entity.getVehiclePictures()));
} }
@ -210,8 +210,8 @@ public class TradeuploadController {
case "transportType" : case "transportType" :
entitys.add(new ExcelExportEntity("运输方式" ,"transportType")); entitys.add(new ExcelExportEntity("运输方式" ,"transportType"));
break; break;
case "departmentId" : case "transportPrice" :
entitys.add(new ExcelExportEntity("运费" ,"departmentId")); entitys.add(new ExcelExportEntity("运费" ,"transportPrice"));
break; break;
case "licenseNo" : case "licenseNo" :
entitys.add(new ExcelExportEntity("车号" ,"licenseNo")); entitys.add(new ExcelExportEntity("车号" ,"licenseNo"));
@ -243,8 +243,8 @@ public class TradeuploadController {
case "vehiclePictures" : case "vehiclePictures" :
entitys.add(new ExcelExportEntity("车辆图片" ,"vehiclePictures")); entitys.add(new ExcelExportEntity("车辆图片" ,"vehiclePictures"));
break; break;
case "creatorusername" : case "creatorUserName" :
entitys.add(new ExcelExportEntity("制单人" ,"creatorusername")); entitys.add(new ExcelExportEntity("制单人" ,"creatorUserName"));
break; break;
default: default:
break; break;

@ -24,7 +24,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
@TableName("jg_poundlist") @TableName("jg_poundlist")

@ -10,7 +10,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* V3.2.0 * V3.2.0
* LINKAGE-BOOT * LINKAGE-BOOT
* LINKAGE-BOOT * LINKAGE-BOOT
* 2023-01-05 * 2023-01-09
*/ */
public interface TradeuploadMapper extends BaseMapper<TradeuploadEntity> { public interface TradeuploadMapper extends BaseMapper<TradeuploadEntity> {

@ -14,7 +14,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadCrForm { public class TradeuploadCrForm {
@ -48,8 +48,8 @@ public class TradeuploadCrForm {
private String transportType; private String transportType;
/** 运费 **/ /** 运费 **/
@JsonProperty("departmentId") @JsonProperty("transportPrice")
private Integer departmentId; private Integer transportPrice;
/** 车号 **/ /** 车号 **/
@JsonProperty("licenseNo") @JsonProperty("licenseNo")
@ -92,8 +92,8 @@ public class TradeuploadCrForm {
private String vehiclePictures; private String vehiclePictures;
/** 制单人 **/ /** 制单人 **/
@JsonProperty("creatorusername") @JsonProperty("creatorUserName")
private String creatorusername; private String creatorUserName;

@ -15,7 +15,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadInfoVO{ public class TradeuploadInfoVO{
@ -52,8 +52,8 @@ public class TradeuploadInfoVO{
private String transportType; private String transportType;
/** 运费 **/ /** 运费 **/
@JsonProperty("departmentId") @JsonProperty("transportPrice")
private Integer departmentId; private Integer transportPrice;
/** 车号 **/ /** 车号 **/
@JsonProperty("licenseNo") @JsonProperty("licenseNo")
@ -96,7 +96,7 @@ public class TradeuploadInfoVO{
private String vehiclePictures; private String vehiclePictures;
/** 制单人 **/ /** 制单人 **/
@JsonProperty("creatorusername") @JsonProperty("creatorUserName")
private String creatorusername; private String creatorUserName;
} }

@ -10,7 +10,7 @@ import java.util.List;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadListQuery extends Pagination { public class TradeuploadListQuery extends Pagination {

@ -15,7 +15,7 @@ import java.math.BigDecimal;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadListVO{ public class TradeuploadListVO{
@ -59,8 +59,8 @@ public class TradeuploadListVO{
/** 运费 **/ /** 运费 **/
@JsonProperty("departmentId") @JsonProperty("transportPrice")
private Integer departmentId; private Integer transportPrice;
/** 车号 **/ /** 车号 **/
@JsonProperty("licenseNo") @JsonProperty("licenseNo")
@ -109,8 +109,8 @@ public class TradeuploadListVO{
/** 制单人 **/ /** 制单人 **/
@JsonProperty("creatorusername") @JsonProperty("creatorUserName")
private String creatorusername; private String creatorUserName;
} }

@ -11,7 +11,7 @@ import java.util.List;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadPagination extends Pagination { public class TradeuploadPagination extends Pagination {

@ -9,7 +9,7 @@ import java.util.*;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadPaginationExportModel extends Pagination { public class TradeuploadPaginationExportModel extends Pagination {

@ -15,7 +15,7 @@ import lombok.Data;
* @ V3.2.0 * @ V3.2.0
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ LINKAGE-BOOT * @ LINKAGE-BOOT
* @ 2023-01-05 * @ 2023-01-09
*/ */
@Data @Data
public class TradeuploadUpForm{ public class TradeuploadUpForm{
@ -59,8 +59,8 @@ public class TradeuploadUpForm{
/** 运费 **/ /** 运费 **/
@JsonProperty("departmentId") @JsonProperty("transportPrice")
private Integer departmentId; private Integer transportPrice;
/** 车号 **/ /** 车号 **/
@ -114,8 +114,8 @@ public class TradeuploadUpForm{
/** 制单人 **/ /** 制单人 **/
@JsonProperty("creatorusername") @JsonProperty("creatorUserName")
private String creatorusername; private String creatorUserName;
} }

@ -10,7 +10,7 @@ import java.util.*;
* V3.2.0 * V3.2.0
* LINKAGE-BOOT * LINKAGE-BOOT
* LINKAGE-BOOT * LINKAGE-BOOT
* 2023-01-05 * 2023-01-09
*/ */
public interface TradeuploadService extends IService<TradeuploadEntity> { public interface TradeuploadService extends IService<TradeuploadEntity> {

@ -38,7 +38,7 @@ import java.util.*;
* V3.2.0 * V3.2.0
* LINKAGE-BOOT * LINKAGE-BOOT
* LINKAGE-BOOT * LINKAGE-BOOT
* 2023-01-05 * 2023-01-09
*/ */
@Service @Service
public class TradeuploadServiceImpl extends ServiceImpl<TradeuploadMapper, TradeuploadEntity> implements TradeuploadService{ public class TradeuploadServiceImpl extends ServiceImpl<TradeuploadMapper, TradeuploadEntity> implements TradeuploadService{

@ -139,7 +139,7 @@
:style='{"width":"100%"}'> :style='{"width":"100%"}'>
<el-option v-for="(item, index) in currencyOptions" :key="index" <el-option v-for="(item, index) in currencyOptions" :key="index"
:label="item.fullName" :value="item.id" :disabled="item.disabled"></el-option> :label="item.fullName" :value="item.id" :disabled="item.disabled"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -416,16 +416,16 @@
}, ], }, ],
}, },
currencyOptions: [{ currencyOptions: [{
"fullName": "CNY", "fullName": "人民币",
"id": "CNY" "id": "0"
}, { }, {
"fullName": "USD", "fullName": "美元",
"id": "USD" "id": "1"
}, { }, {
"fullName": "EUR", "fullName": "英镑",
"id": "EUR" "id": "2"
}], }],
contractTypeOptions: [{ contractTypeOptions: [{
"fullName": "采购合同", "fullName": "采购合同",
"id": "1" "id": "1"

@ -147,11 +147,11 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="读取时间" prop="readDate"> <el-form-item label="读取时间" prop="readDate">
<el-time-picker v-model="dataForm.readDate" placeholder="请选择" clearable <el-date-picker v-model="dataForm.readDate" placeholder="请选择" clearable
:style='{"width":"100%"}' format="HH:mm:ss" value-format="HH:mm:ss" :style='{"width":"100%"}' type="datetime" format="yyyy-MM-dd HH:mm:ss"
:picker-options='{"selectableRange":"00:00:00-23:59:59"}'> value-format="timestamp">
</el-time-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

Loading…
Cancel
Save