Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_REFACTORING
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_REFACTORING
Commits
d16f6b79
Commit
d16f6b79
authored
Nov 19, 2018
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整合完成
parent
5d871a1d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
20 deletions
+8
-20
pom.xml
pom.xml
+1
-5
AdminApi.java
src/main/java/com/yxproject/start/api/AdminApi.java
+6
-13
UserApi.java
src/main/java/com/yxproject/start/api/UserApi.java
+0
-0
MyShiroRealm.java
src/main/java/com/yxproject/start/config/MyShiroRealm.java
+0
-1
PoliceStationVailedMapper.java
...com/yxproject/start/mapper/PoliceStationVailedMapper.java
+1
-1
No files found.
pom.xml
View file @
d16f6b79
...
...
@@ -29,11 +29,7 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<!--引入jersey作为http rest接口实现-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jersey
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
...
...
src/main/java/com/yxproject/start/api/AdminApi.java
View file @
d16f6b79
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.entity.*
;
import
com.yxproject.start.service.ProductionTaskListService
;
import
com.yxproject.start.entity.SysPermission
;
import
com.yxproject.start.entity.SysRole
;
import
com.yxproject.start.entity.UserInfo
;
import
com.yxproject.start.service.SysPermissionService
;
import
com.yxproject.start.service.SysRoleService
;
import
com.yxproject.start.service.UserInfoService
;
import
com.yxproject.start.utils.Md5Utils
;
import
com.yxproject.start.utils.YXJSONResponse
;
import
net.sf.json.JSONArray
;
import
net.sf.json.JSONObject
;
import
org.apache.shiro.SecurityUtils
;
import
org.apache.shiro.authc.IncorrectCredentialsException
;
import
org.apache.shiro.authc.UnknownAccountException
;
import
org.apache.shiro.authc.UsernamePasswordToken
;
import
org.apache.shiro.authz.annotation.RequiresPermissions
;
import
org.apache.shiro.authz.annotation.RequiresRoles
;
import
org.apache.shiro.subject.Subject
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.ws.rs.POST
;
import
java.util.*
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.UUID
;
/**
...
...
src/main/java/com/yxproject/start/api/UserApi.java
View file @
d16f6b79
This diff is collapsed.
Click to expand it.
src/main/java/com/yxproject/start/config/MyShiroRealm.java
View file @
d16f6b79
package
com
.
yxproject
.
start
.
config
;
import
com.yxproject.start.entity.ProductionTaskListEntity
;
import
com.yxproject.start.entity.SysPermission
;
import
com.yxproject.start.entity.SysRole
;
import
com.yxproject.start.entity.UserInfo
;
...
...
src/main/java/com/yxproject/start/mapper/PoliceStationVailedMapper.java
View file @
d16f6b79
...
...
@@ -12,7 +12,7 @@ import java.util.List;
public
interface
PoliceStationVailedMapper
{
/**
* 保存派出所照片质量报表
* @param policeStationVailed
Info
Entity
* @param policeStationVailedEntity
* @return
*/
@Insert
(
"INSERT INTO POLICE_STATION_VAILED_INFO (POLICE_STATION_VAILED_INFO_ID,CYCLESHEETID,POLICE_STATION_CODE,VAILED_COUNT,INVALID_COUNT,SAVA_DATE) "
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment