public void updateType(String id, String type) {
        Process entity = getProcessById(id);
        entity.setType(type);
		access().updateProcessType(id, type);
        cache(entity);
	}
public void updateType ( String id , String type ) { Process entity = getProcessById ( id ) ; entity . setType ( type ) ; access ( ) . updateProcessType ( id , type ) ; cache ( entity ) ; }
更新process的类别