change - 看板接口

master
yinq 10 months ago
parent d4e9b93ad1
commit c06fa24a75

@ -47,6 +47,16 @@ public class BoardReportController extends BaseController {
return AjaxResult.success(boardReportService.boxFoamingProductionInterface(paramMap));
}
/**
*
* @param paramMap
* @return
*/
@PostMapping("/getCurrentTeamTimeList")
public AjaxResult getCurrentTeamTimeList(@RequestBody HashMap<String, String> paramMap) {
return AjaxResult.success(boardReportService.getCurrentTeamTimeList(paramMap));
}
/**
*

@ -60,4 +60,13 @@ public class ProductionReportController extends BaseController {
return success(list);
}
/**
*
*/
@GetMapping("/foamFillingRecordReportList")
public AjaxResult foamFillingRecordReportList(@RequestParam(required = false) Map hashMap) {
List<HashMap<String, Object>> list = productionReportService.foamFillingRecordReportList(hashMap);
return success(list);
}
}

@ -55,4 +55,11 @@ public interface BoardReportMapper {
* @return
*/
List<HashMap<String, Object>> boxFoamingProductionInterface(HashMap<String, String> paramMap);
/**
*
* @param paramMap
* @return
*/
List<HashMap<String, Object>> getCurrentTeamTimeList(HashMap<String, String> paramMap);
}

@ -85,4 +85,11 @@ public interface GeneralReportMapper {
* @return
*/
List<HashMap<String, Object>> pourRecordReportList(Map hashMap);
/**
*
* @param hashMap
* @return
*/
List<HashMap<String, Object>> foamFillingRecordReportList(Map hashMap);
}

@ -35,4 +35,11 @@ public interface IBoardReportService {
*/
List<HashMap<String, Object>> boxFoamingProductionInterface(HashMap<String, String> paramMap);
/**
*
* @param paramMap
* @return
*/
List<HashMap<String, Object>> getCurrentTeamTimeList(HashMap<String, String> paramMap);
}

@ -91,5 +91,15 @@ public class BoardReportServiceImpl implements IBoardReportService {
return boardReportMapper.boxFoamingProductionInterface(paramMap);
}
/**
*
* @param paramMap
* @return
*/
@Override
public List<HashMap<String, Object>> getCurrentTeamTimeList(HashMap<String, String> paramMap) {
return boardReportMapper.getCurrentTeamTimeList(paramMap);
}
}

@ -59,5 +59,15 @@ public class ProductionReportServiceImpl implements IProductionReportService {
return reportMapper.ScanOfflineRecordReportList(hashMap);
}
/**
*
* @param hashMap
* @return
*/
@Override
public List<HashMap<String, Object>> foamFillingRecordReportList(Map hashMap) {
return reportMapper.foamFillingRecordReportList(hashMap);
}
}

@ -89,4 +89,13 @@
ORDER BY BD.SORT
</select>
<select id="getCurrentTeamTimeList" resultType="java.util.HashMap" parameterType="java.util.HashMap">
SELECT SEQ,
TO_CHAR(START_TIME, 'YYYY-MM-DD HH24:MI:SS') START_TIME,
TO_CHAR(END_TIME, 'YYYY-MM-DD HH24:MI:SS') END_TIME,
HOUR_TIME,
TEAM_NAME
FROM VIEW_CURRENT_TEAM_TIME
</select>
</mapper>

@ -74,6 +74,10 @@
SELECT *
FROM VIEW_PERFUSION_RECORD
</select>
<select id="foamFillingRecordReportList" resultType="java.util.HashMap">
SELECT *
FROM VIEW_BOX_FOAMDATARECORD
</select>
</mapper>

Loading…
Cancel
Save