| | |
| | | |
| | | //校验是否传了 分页信息 |
| | | |
| | | 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); |
| | | |
| | |
| | | |
| | | @Override |
| | | public int saveOaWorkflowFormData(@RequestBody JSONObject reqJson) { |
| | | Map info = BeanConvertUtil.beanCovertMap(reqJson); |
| | | info.put("columns",reqJson.get("columns")); |
| | | info.put("values",reqJson.get("values")); |
| | | return oaWorkflowFormServiceDaoImpl.saveOaWorkflowFormDataInfo(info); |
| | | return oaWorkflowFormServiceDaoImpl.saveOaWorkflowFormDataInfo(reqJson); |
| | | } |
| | | |
| | | @Override |
| | | public int updateOaWorkflowFormData(@RequestBody JSONObject reqJson) { |
| | | return oaWorkflowFormServiceDaoImpl.updateOaWorkflowFormData(BeanConvertUtil.beanCovertMap(reqJson)); |
| | | return oaWorkflowFormServiceDaoImpl.updateOaWorkflowFormData(reqJson); |
| | | } |
| | | |
| | | public IOaWorkflowFormServiceDao getOaWorkflowFormServiceDaoImpl() { |