历史bug修复
parent
de3503d0e8
commit
32f2a32e67
|
@ -82,6 +82,28 @@ public class OpenApiController extends BaseController {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping(value="/user/getUserInfo")
|
||||||
|
@ResponseBody
|
||||||
|
public Object getUserInfo() throws Exception{
|
||||||
|
PageData map = new PageData();
|
||||||
|
PageData pd = this.getPageData();
|
||||||
|
PageData userInfo = usersService.getUserInfo(pd); //列出Post列表
|
||||||
|
map.putAll(userInfo);
|
||||||
|
map.put("result", "success");
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
@RequestMapping(value="/department/getDepartmentInfo")
|
||||||
|
@ResponseBody
|
||||||
|
public Object getDepartmentInfo() throws Exception{
|
||||||
|
PageData map = new PageData();
|
||||||
|
PageData pd = this.getPageData();
|
||||||
|
PageData departmentInfo = departmentService.getDepartmentInfo(pd); //列出Post列表
|
||||||
|
map.putAll(departmentInfo);
|
||||||
|
map.put("result", "success");
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
/**列表
|
/**列表
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -173,5 +173,7 @@ public interface DepartmentMapper{
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd);
|
List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd);
|
||||||
|
|
||||||
|
PageData getInfo(PageData pd) throws Exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -292,4 +292,6 @@ public interface UsersMapper {
|
||||||
List<PageData> selectUserListByUserIds(PageData pd);
|
List<PageData> selectUserListByUserIds(PageData pd);
|
||||||
|
|
||||||
void resetCardNo(PageData pd);
|
void resetCardNo(PageData pd);
|
||||||
|
|
||||||
|
PageData getUserInfo(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,5 +223,7 @@ public interface DepartmentService{
|
||||||
List<PageData> listTreeManageAndCorp1(PageData pd)throws Exception;
|
List<PageData> listTreeManageAndCorp1(PageData pd)throws Exception;
|
||||||
|
|
||||||
List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd) throws Exception;
|
List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd) throws Exception;
|
||||||
|
|
||||||
|
PageData getDepartmentInfo(PageData pd) throws Exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -343,4 +343,6 @@ public interface UsersService {
|
||||||
List<PageData> selectUserListByUserIds(PageData selectPageData);
|
List<PageData> selectUserListByUserIds(PageData selectPageData);
|
||||||
|
|
||||||
void resetCardNo(PageData pd);
|
void resetCardNo(PageData pd);
|
||||||
|
|
||||||
|
PageData getUserInfo(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -409,5 +409,10 @@ public class DepartmentServiceImpl implements DepartmentService{
|
||||||
public List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd) throws Exception {
|
public List<PageData> listTreeManageAndCorpForPcPunishThePerson(PageData pd) throws Exception {
|
||||||
return departmentMapper.listTreeManageAndCorpForPcPunishThePerson(pd);
|
return departmentMapper.listTreeManageAndCorpForPcPunishThePerson(pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageData getDepartmentInfo(PageData pd) throws Exception {
|
||||||
|
return departmentMapper.getInfo(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -434,4 +434,9 @@ public class UsersServiceImpl implements UsersService {
|
||||||
public void resetCardNo(PageData pd) {
|
public void resetCardNo(PageData pd) {
|
||||||
usersMapper.resetCardNo(pd);
|
usersMapper.resetCardNo(pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageData getUserInfo(PageData pd) {
|
||||||
|
return usersMapper.getUserInfo(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -550,4 +550,7 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
<select id="getInfo" resultType="com.zcloud.entity.PageData">
|
||||||
|
select * from vi_department_all where DEPARTMENT_ID = #{DEPARTMENT_ID}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -1287,4 +1287,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
<select id="getUserInfo" resultType="com.zcloud.entity.PageData">
|
||||||
|
select * from vi_user_all where USER_ID = #{USER_ID}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue