|
@@ -189,6 +189,10 @@ public class IotRdDailyReportController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
private IotRdDailyReportRespVO buildDailyReport(IotRdDailyReportDO dailyReport) {
|
|
private IotRdDailyReportRespVO buildDailyReport(IotRdDailyReportDO dailyReport) {
|
|
|
|
|
+ // 如果 dailyReport 为空 返回空对象 有可能任务中安排的人员部门 与日报所在部门不同
|
|
|
|
|
+ if (ObjUtil.isEmpty(dailyReport)) {
|
|
|
|
|
+ return new IotRdDailyReportRespVO();
|
|
|
|
|
+ }
|
|
|
IotRdDailyReportRespVO dailyReportVO = BeanUtils.toBean(dailyReport, IotRdDailyReportRespVO.class);
|
|
IotRdDailyReportRespVO dailyReportVO = BeanUtils.toBean(dailyReport, IotRdDailyReportRespVO.class);
|
|
|
// 查询日报生产动态明细
|
|
// 查询日报生产动态明细
|
|
|
// 当前井及平台井的 taskId 依次查询有无 生产动态明细 哪个井有明细 用哪个任务井
|
|
// 当前井及平台井的 taskId 依次查询有无 生产动态明细 哪个井有明细 用哪个任务井
|