|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据checkId获取检验项信息 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * checkStandardPR#listCheckItemsByCheckId | 
|---|
|  |  |  | * checkStandardPR#listCheckItemsByParam | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param param | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @DataProvider | 
|---|
|  |  |  | public List<CheckItemData> listCheckItemsByCheckId(Map<String, Object> param) { | 
|---|
|  |  |  | @Expose | 
|---|
|  |  |  | 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"); | 
|---|
|  |  |  | String type = (String) param.get("type"); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return checkStandardManager.listCheckItem(checkId, deptId, foodVariety); | 
|---|
|  |  |  | return checkStandardManager.listCheckItem(ContextUtil.getCompanyId(),checkId, 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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //   /*=============== 化验报表打印相关 ===============*/ | 
|---|
|  |  |  | //   /** | 
|---|
|  |  |  | //    * checkStandardPR#pageReportCheckData 分页获取出入库的化验单据报表信息 | 
|---|
|  |  |  | //    * | 
|---|
|  |  |  | //    * @param page | 
|---|
|  |  |  | //    * @param param | 
|---|
|  |  |  | //    */ | 
|---|
|  |  |  | //   @DataProvider | 
|---|
|  |  |  | //   public void pageReportCheckData(Page<ReportInoutCheckData> page, Map<String, Object> param) { | 
|---|
|  |  |  | //      jdbcInoutCheckService.pageReportCheckData(page, param); | 
|---|
|  |  |  | //   } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * checkStandardPR#getQuery 根据报表类型,获取默认查询信息,比如表头信息等 | 
|---|