| | |
| | | package com.java110.oa.smo.impl; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.oaWorkflowForm.OaWorkflowFormDto; |
| | |
| | | |
| | | //校验是否传了 分页信息 |
| | | |
| | | int page = (int)paramIn.get("page"); |
| | | int page = (int) paramIn.get("page"); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | paramIn.put("page",(page - 1) * (int)paramIn.get("row")); |
| | | paramIn.put("page", (page - 1) * (int) paramIn.get("row")); |
| | | } |
| | | List<Map> info = oaWorkflowFormServiceDaoImpl.queryOaWorkflowFormDatas(paramIn); |
| | | |
| | | return info; |
| | | } |
| | | |
| | | @Override |
| | | public int saveOaWorkflowFormData(@RequestBody JSONObject reqJson) { |
| | | return oaWorkflowFormServiceDaoImpl.saveOaWorkflowFormDataInfo(reqJson); |
| | | } |
| | | |
| | | @Override |
| | | public int updateOaWorkflowFormData(@RequestBody JSONObject reqJson) { |
| | | return oaWorkflowFormServiceDaoImpl.updateOaWorkflowFormData(reqJson); |
| | | } |
| | | |
| | | @Override |
| | | public int updateOaWorkflowFormDataAll(@RequestBody JSONObject reqJson) { |
| | | return oaWorkflowFormServiceDaoImpl.updateOaWorkflowFormDataAll(reqJson); |
| | | } |
| | | |
| | | public IOaWorkflowFormServiceDao getOaWorkflowFormServiceDaoImpl() { |
| | | return oaWorkflowFormServiceDaoImpl; |
| | | } |