| | |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.enumpck.BooleanEnum; |
| | | import com.vci.ubcs.starter.web.enumpck.UserSecretEnum; |
| | | import com.vci.ubcs.starter.web.pagemodel.SessionInfo; |
| | | import com.vci.ubcs.starter.web.toolmodel.DateConverter; |
| | | import com.vci.ubcs.starter.web.wrapper.VciQueryWrapperForDO; |
| | |
| | | } |
| | | } |
| | | |
| | | public static Integer getCurrentUserSecret() { |
| | | SessionInfo currentUserSession = getCurrentUserSessionInfoNotException(); |
| | | return currentUserSession != null ? getInt(currentUserSession.getUserSecret()) : UserSecretEnum.NONE.getValue(); |
| | | } |
| | | |
| | | public static float getFloat(String s) { |
| | | float f = 0.0F; |
| | | if (s == null) { |