|  | @ -54,7 +54,6 @@ public class BaseDoctorRoleDictService extends BaseJpaService<BaseDoctorRoleDict
 | 
	
		
			
				|  |  |             result.put("status", -1);
 | 
	
		
			
				|  |  |             return result;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         roleInfoDO.setCode(randomString(30));
 | 
	
		
			
				|  |  |         baseDoctorRoleDictDao.save(roleInfoDO);
 | 
	
		
			
				|  |  |         result.put("status", 200);
 | 
	
		
			
				|  |  |         result.put("obj", roleInfoDO);
 | 
	
	
		
			
				|  | @ -114,7 +113,7 @@ public class BaseDoctorRoleDictService extends BaseJpaService<BaseDoctorRoleDict
 | 
	
		
			
				|  |  |      * @param roleId 角色id
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public JSONObject getOneRoleInfo(Integer roleId){
 | 
	
		
			
				|  |  |     public JSONObject getOneRoleInfo(String roleId){
 | 
	
		
			
				|  |  |         JSONObject result = new JSONObject();
 | 
	
		
			
				|  |  |         if(StringUtils.isEmpty(roleId)){
 | 
	
		
			
				|  |  |             result.put("msg","参数错误");
 | 
	
	
		
			
				|  | @ -123,7 +122,7 @@ public class BaseDoctorRoleDictService extends BaseJpaService<BaseDoctorRoleDict
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         //角色基本信息
 | 
	
		
			
				|  |  |         BaseDoctorRoleDictDO roleInfoDO = baseDoctorRoleDictDao.findById(roleId.toString()).orElse(null);;
 | 
	
		
			
				|  |  |         BaseDoctorRoleDictDO roleInfoDO = baseDoctorRoleDictDao.findById(roleId).orElse(null);;
 | 
	
		
			
				|  |  |         if(null == roleInfoDO){
 | 
	
		
			
				|  |  |             result.put("msg", "角色id不存在");
 | 
	
		
			
				|  |  |             result.put("status", -1);
 | 
	
	
		
			
				|  | @ -143,14 +142,14 @@ public class BaseDoctorRoleDictService extends BaseJpaService<BaseDoctorRoleDict
 | 
	
		
			
				|  |  |      * @param del
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public JSONObject enableOrDisable(Integer roleId,String del){
 | 
	
		
			
				|  |  |     public JSONObject enableOrDisable(String roleId,String del){
 | 
	
		
			
				|  |  |         JSONObject result = new JSONObject();
 | 
	
		
			
				|  |  |         if(StringUtils.isEmpty(roleId) || StringUtils.isEmpty(del)){
 | 
	
		
			
				|  |  |             result.put("msg","参数错误");
 | 
	
		
			
				|  |  |             result.put("status", -1);
 | 
	
		
			
				|  |  |             return result;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         BaseDoctorRoleDictDO roleInfoDO = baseDoctorRoleDictDao.findById(roleId.toString()).orElse(null);;
 | 
	
		
			
				|  |  |         BaseDoctorRoleDictDO roleInfoDO = baseDoctorRoleDictDao.findById(roleId).orElse(null);;
 | 
	
		
			
				|  |  |         if( null == roleInfoDO ){
 | 
	
		
			
				|  |  |             result.put("msg", "角色id不存在");
 | 
	
		
			
				|  |  |             result.put("status", -1);
 |