| | |
| | | import com.ld.igds.m.InoutManageUtil; |
| | | import com.ld.igds.m.service.HPlanManageService; |
| | | import com.ld.igds.models.DicTrigger; |
| | | import com.ld.igds.models.MPlan; |
| | | import com.ld.igds.models.MPlanDetail; |
| | | import com.ld.igds.models.InoutPlan; |
| | | import com.ld.igds.models.InoutPlanDetail; |
| | | import com.ld.igds.sys.service.SysDeptService; |
| | | import com.ld.igds.util.ContextUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | |
| | | * @throws Exception |
| | | */ |
| | | @DataProvider |
| | | public void pagePlan(Page<MPlan> page, Map<String, Object> param) throws Exception { |
| | | public void pagePlan(Page<InoutPlan> page, Map<String, Object> param) throws Exception { |
| | | if (null == param) { |
| | | param = new HashMap<String, Object>(); |
| | | } |
| | |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<MPlanDetail> listPlanDetail(String planId) { |
| | | public List<InoutPlanDetail> listPlanDetail(String planId) { |
| | | return service.listPlanDetail(planId); |
| | | } |
| | | |
| | |
| | | * @param data |
| | | */ |
| | | @DataResolver |
| | | public void savePlan(MPlan data) { |
| | | public void savePlan(InoutPlan data) { |
| | | service.savePlan(data); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public String delPlan(MPlan data) { |
| | | public String delPlan(InoutPlan data) { |
| | | return service.delPlan(data); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public String delPlanDetail(MPlanDetail data){ |
| | | public String delPlanDetail(InoutPlanDetail data){ |
| | | return service.delPlanDetail(data); |
| | | } |
| | | } |