/* * (non-Javadoc) * * @see * com.jcin.cms.service.system.IUserService#update(com.jcin.cms.service. * system. User) */ @Override @Transactional(readOnly = false) public String update(User record) { // super.update(record); record.setUpdateDate(new Date()); if ("".equals(record.getMemberLebelId())) { record.setMemberLebelId(null); } int result = userMapper.updateByPrimaryKeySelective(record); return record.getId(); }