审计代码修改
This commit is contained in:
parent
746a197914
commit
04131d8524
|
|
@ -190,7 +190,6 @@ public class LeaseOutDetailsServiceImpl implements LeaseOutDetailsService {
|
|||
return AjaxResult.error("已领数量大于预领数量或该机具未在库");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return AjaxResult.error("出库失败");
|
||||
}
|
||||
return AjaxResult.success("出库成功");
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ public class BmProjectInfoController extends BaseController{
|
|||
util.exportExcel(response, list, "往来单位");
|
||||
}
|
||||
|
||||
@Log(title = "项目管理导入", businessType = BusinessType.IMPORT)
|
||||
/* @Log(title = "项目管理导入", businessType = BusinessType.IMPORT)
|
||||
@RequiresPermissions("system:user:import")
|
||||
@PostMapping("/importData")
|
||||
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception
|
||||
|
|
@ -134,6 +134,5 @@ public class BmProjectInfoController extends BaseController{
|
|||
List<BmProjectInfo> bmProjectInfoList = util.importExcel(file.getInputStream());
|
||||
String message = bmProjectInfoService.importBmProjectInfo(bmProjectInfoList, updateSupport);
|
||||
return success(message);
|
||||
}
|
||||
|
||||
}*/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ public class BmProjectLotController extends BaseController {
|
|||
return bmProjectLotService.updateBmProjectLot(bmProjectLot);
|
||||
}
|
||||
|
||||
@Log(title = "项目管理导入", businessType = BusinessType.IMPORT)
|
||||
/* @Log(title = "项目管理导入", businessType = BusinessType.IMPORT)
|
||||
@RequiresPermissions("system:user:import")
|
||||
@PostMapping("/importData")
|
||||
public AjaxResult importData(MultipartFile file) throws Exception
|
||||
|
|
@ -99,6 +99,6 @@ public class BmProjectLotController extends BaseController {
|
|||
List<BmProjectLotImport> bmProjectLotList = util.importExcel(file.getInputStream());
|
||||
String message = bmProjectLotService.importBmProjectLot(bmProjectLotList);
|
||||
return success(message);
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ public class BmUnitInfoController extends BaseController{
|
|||
ExcelUtil<BmUnitInfo> util = new ExcelUtil<BmUnitInfo>(BmUnitInfo.class);
|
||||
util.exportExcel(response, list, "往来单位");
|
||||
}
|
||||
@ApiOperation(value = "往来单位导入")
|
||||
/* @ApiOperation(value = "往来单位导入")
|
||||
@Log(title = "往来单位导入", businessType = BusinessType.IMPORT)
|
||||
@RequiresPermissions("system:user:import")
|
||||
@PostMapping("/importData")
|
||||
|
|
@ -173,6 +173,6 @@ public class BmUnitInfoController extends BaseController{
|
|||
Long userId = SecurityUtils.getLoginUser().getUserid();
|
||||
String message = bmUnitInfoService.importUser(bmUnitInfoList, updateSupport, userId);
|
||||
return success(message);
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||
import org.springframework.transaction.interceptor.TransactionAspectSupport;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.math.BigDecimal;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
|
|
@ -407,6 +408,8 @@ public class IotMachineServiceImpl implements IotMachineService {
|
|||
iotLocationVo.setBeginTime(jsonObject.getString("starttime"));
|
||||
iotLocationVo.setEndTime(jsonObject.getString("endtime"));
|
||||
iotLocationVo.setAddress(jsonObject.getString("address"));
|
||||
iotLocationVo.setCallat(new BigDecimal(jsonObject.getString("callat")));
|
||||
iotLocationVo.setCallon(new BigDecimal(jsonObject.getString("callon")));
|
||||
iotLocationVoList.add(iotLocationVo);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ spring:
|
|||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
namespace: sgzb_nwjj
|
||||
namespace: sgzb_cloud_dev_nw
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
namespace: sgzb_nwjj
|
||||
namespace: sgzb_cloud_dev_nw
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ spring:
|
|||
name: sgzb-material
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: sgzb_cloud_local
|
||||
active: sgzb_nw_local
|
||||
Loading…
Reference in New Issue