| | |
| | | } |
| | | |
| | | inoutMapper.updateDataByHandle(newData); |
| | | InoutParam param = new InoutParam(); |
| | | param.setId(newData.getId()); |
| | | |
| | | //更新缓存 |
| | | updateInoutCache(newData); |
| | | updateInoutCache(inoutMapper.inoutQueryById(param)); |
| | | |
| | | return null; |
| | | } |
| | |
| | | } |
| | | |
| | | // 清除缓存 |
| | | this.delFromCache(param.getDeptId(), param.getType(), param.getId()); |
| | | // this.delFromCache(param.getDeptId(), param.getType(), param.getId()); |
| | | |
| | | |
| | | inoutMapper.toComplete(param); |
| | |
| | | data.setCompanyId(ContextUtil.getCompanyId()); |
| | | } |
| | | if (StringUtils.isEmpty(data.getDeptId())) { |
| | | data.setCompanyId(ContextUtil.subDeptId(null)); |
| | | data.setDeptId(ContextUtil.subDeptId(null)); |
| | | } |
| | | |
| | | inoutCheckMapper.updateSampleData(data); |