This commit is contained in:
linfso 2024-06-06 12:04:27 +08:00
parent 063634e422
commit 12b495483b
6 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ public class EmisProblemType extends BaseEntity
private static final long serialVersionUID = 1L;
/* 序号 */
private Long id;
private Integer id;
/* 类型编号 */
private String typeCode;
/* 类型名称 */

View File

@ -328,7 +328,7 @@ public class EmisWaybill extends BaseEntity
/* 是否问题件 1-是 0-否 */
private String blIsQuestion;
/* 问题件类型 */
private String problemType;
private Integer problemType;
/* 问题件原因 */
private String problemCause;
/* 问题件延期天数 */

View File

@ -38,7 +38,7 @@ public class EmisWaybillProblemInfo extends BaseEntity
/* 运单号 */
private String billCode;
/* 问题类型: 航班拉货 */
private Long problemType;
private Integer problemType;
/* 问题件标题 */
private String problemTitle;
/* 问题件原因 */

View File

@ -26,7 +26,7 @@ public interface EmisProblemTypeMapper extends BaseMapper<EmisProblemType>
* @param id
* @return
*/
public EmisProblemType selectEmisProblemTypeById(Long id);
public EmisProblemType selectEmisProblemTypeById(Integer id);
/**
* 查询列表

View File

@ -436,7 +436,7 @@ public class EmisBaseService {
* 更新问题件状态
* @param billCode
*/
public void updateProblemStatus(String billCode,String problemType,String problemCause) {
public void updateProblemStatus(String billCode,Integer problemType,String problemCause) {
String mainBillCode = billCode;
if(billCode.startsWith("T7080") && billCode.length()>14 ){
mainBillCode=billCode.substring(0,14);
@ -449,7 +449,7 @@ public class EmisBaseService {
waybill.setProblemCause(problemCause);
// 记录延迟天数
EmisProblemType emisProblemType =getEmisProblemTypebyTypeId(Long.valueOf(problemType));
EmisProblemType emisProblemType =getEmisProblemTypebyTypeId(problemType);
waybill.setProblemDelayDays(emisProblemType.getDelayDay());
// 重新计算预估时间
@ -475,7 +475,7 @@ public class EmisBaseService {
}
public EmisProblemType getEmisProblemTypebyTypeId(Long typeId){
public EmisProblemType getEmisProblemTypebyTypeId(Integer typeId){
return emisProblemTypeMapper.selectEmisProblemTypeById(typeId);
}

View File

@ -510,7 +510,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
// "scanDate": "2024-05-02 12:03:05",
// "scanWeight": "0.2"
String problemType = String.valueOf(scanDataItem.get("problemType"));
Integer problemType = Integer.valueOf(scanDataItem.get("problemType").toString());
String notifySite = (String)scanDataItem.get("notifySite");
String picUrl = (String)scanDataItem.get("picUrl");
String remark = (String)scanDataItem.get("remark");