Browse Source

物料技术等级属性优化

master
DouDou 9 months ago
parent
commit
11bfd5a034
  1. 8
      src/main/java/com/spring/ifs/bean/TechnicalClassBean.java

8
src/main/java/com/spring/ifs/bean/TechnicalClassBean.java

@ -12,6 +12,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@ -275,10 +276,15 @@ public class TechnicalClassBean {
if ((null == newValueNo || "NULL".equalsIgnoreCase(newValueNo) || newValueNo.trim().isEmpty())
&& (null == valueNo || "NULL".equalsIgnoreCase(valueNo) || valueNo.trim().isEmpty())){
continue;
}else if (newValueNo.equals(valueNo)){
}else if (!newValueNo.equals(valueNo)){
//判断是否是相同大小的数字
BigDecimal oriValue = new BigDecimal(valueNo);
BigDecimal newValue = new BigDecimal(newValueNo);
if(oriValue.compareTo(newValue) == 0) {
continue;
}
}
}
//添加ifsRowId ifsRowVersion
String ifsRowId = resultMap.get("IFSROWID");
String ifsRowVersion = resultMap.get("IFSROWVERSION");

Loading…
Cancel
Save