| | |
| | | /** |
| | | * 根据checkId获取检验项信息 |
| | | * |
| | | * checkStandardPR#listCheckItemsByCheckId |
| | | * checkStandardPR#listCheckItemsByParam |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<CheckItemData> listCheckItemsByCheckId(Map<String, Object> param) { |
| | | public List<CheckItemData> listCheckItemsByParam(Map<String, Object> param) { |
| | | |
| | | String checkId = (String) param.get("checkId"); |
| | | String deptId = (String) param.get("deptId"); |
| | | String foodVariety = (String) param.get("foodVariety"); |
| | | |
| | | return checkStandardManager.listCheckItem(checkId, deptId, foodVariety); |
| | | } |
| | | |
| | | /** |
| | | * 根据foodVariety获取检验项信息 |
| | | * |
| | | * checkStandardPR#listCheckItemsByFoodVariety |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public List<CheckItemData> listCheckItemsByFoodVariety(Map<String, Object> param) { |
| | | |
| | | String deptId = (String) param.get("deptId"); |
| | | String foodVariety = (String) param.get("foodVariety"); |
| | | |
| | | return checkStandardManager.listCheckItem(null, null, foodVariety); |
| | | return checkStandardManager.listCheckItem(ContextUtil.getCompanyId(),checkId, foodVariety); |
| | | } |
| | | |
| | | |