| | |
| | | import com.ld.igds.util.ContextUtil; |
| | | |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | private InoutReportManager inoutReportManager; |
| | | @Resource |
| | | private InoutManager inoutManager; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // ${dorado.getDataProvider("inoutDataPR#triggerRecordStatus1").getResult()} |
| | | @DataProvider |
| | | public List<DicTrigger> triggerRecordStatus1() { |
| | |
| | | return list; |
| | | } |
| | | |
| | | // ${dorado.getDataProvider("inoutDataPR#triggerResult").getResult()} |
| | | @DataProvider |
| | | public List<DicTrigger> triggerResult() { |
| | | List<DicTrigger> list = new ArrayList<DicTrigger>(); |
| | | list.add(new DicTrigger(InoutConstant.RESULT_1, "合格")); |
| | | list.add(new DicTrigger(InoutConstant.RESULT_0, "不合格")); |
| | | return list; |
| | | } |
| | | |
| | | // ${dorado.getDataProvider("inoutDataPR#triggerSampleType").getResult()} |
| | | @DataProvider |
| | | public List<DicTrigger> triggerSampleType() { |
| | | List<DicTrigger> list = new ArrayList<DicTrigger>(); |
| | | list.add(new DicTrigger(InoutConstant.SAMPLE_TYPE_MANUAL, "人工")); |
| | | list.add(new DicTrigger(InoutConstant.SAMPLE_TYPE_AUTOMATIC, "自动")); |
| | | list.add(new DicTrigger(InoutConstant.SAMPLE_TYPE_RANDOM, "智能随机")); |
| | | return list; |
| | | } |
| | | |
| | | /** |
| | | * inoutDataPR#pageInoutData |
| | | * |