lazhaoqian пре 3 година
родитељ
комит
e913d3f05b

+ 2 - 2
ruoyi-shipping/src/main/java/com/ruoyi/shipping/service/impl/TCntrnoServiceImpl.java

@@ -613,7 +613,7 @@ public class TCntrnoServiceImpl implements ITCntrnoService {
                             Date tDate = new Date();
                             long localOffset = tDate.getTimezoneOffset() * 60000; //系统时区偏移 1900/1/1 到 1970/1/1 的 25569 天
                             tDate.setTime((long) ((Double.valueOf(cell.getStringCellValue()) - 25569) * 24 * 3600 * 1000 + localOffset));
-                            companyMsg.setUpdateTime(tDate);
+                            companyMsg.setfUpdatetime(tDate);
                             break;
                         case "船名":
                             //设置单元格类型
@@ -667,7 +667,7 @@ public class TCntrnoServiceImpl implements ITCntrnoService {
                             if (aLong == null){
                                 return AjaxResult.error("系统缺少类型为"+companyMsg.getPortName()+"的地点"+cell.getStringCellValue()+"请维护");
                             }
-                            companyMsg.setfUpdateaddress(aLong.toString());
+                            companyMsg.setfUpdateaddress(aLong.getfId().toString());
                             break;
                         case "提单号":
                             //设置单元格类型