diff --git a/src/main/java/com/gaotao/modules/api/entity/IfsCallErrorLog.java b/src/main/java/com/gaotao/modules/api/entity/IfsCallErrorLog.java index 9f451e9..63e0bbb 100644 --- a/src/main/java/com/gaotao/modules/api/entity/IfsCallErrorLog.java +++ b/src/main/java/com/gaotao/modules/api/entity/IfsCallErrorLog.java @@ -2,6 +2,7 @@ package com.gaotao.modules.api.entity; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; +import java.math.BigDecimal; import java.util.Date; /** @@ -57,7 +58,7 @@ public class IfsCallErrorLog { /** * 数量 */ - private Integer qty; + private BigDecimal qty; /** * 过期日期 diff --git a/src/main/java/com/gaotao/modules/api/service/IfsCallErrorLogService.java b/src/main/java/com/gaotao/modules/api/service/IfsCallErrorLogService.java index 045a5e0..bc457e4 100644 --- a/src/main/java/com/gaotao/modules/api/service/IfsCallErrorLogService.java +++ b/src/main/java/com/gaotao/modules/api/service/IfsCallErrorLogService.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.gaotao.common.utils.PageUtils; import com.gaotao.modules.api.entity.IfsCallErrorLog; import com.gaotao.modules.api.entity.IfsCallErrorLogData; +import java.math.BigDecimal; import java.util.Date; /** @@ -34,7 +35,7 @@ public interface IfsCallErrorLogService extends IService { Long logIfsError(String site, String interfaceName, String methodType, String partNo, String lotBatchNo, String sourceLocation, String destLocation, - Integer qty, Date expiredDate, + BigDecimal qty, Date expiredDate, String requestData, String responseData, String errorMessage); /** diff --git a/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java b/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java index d6798a2..7607415 100644 --- a/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java +++ b/src/main/java/com/gaotao/modules/api/service/impl/IfsCallErrorLogServiceImpl.java @@ -21,6 +21,7 @@ import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.StringUtils; +import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; @@ -54,7 +55,7 @@ public class IfsCallErrorLogServiceImpl extends ServiceImpl