1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

修改package

This commit is contained in:
2022-11-05 20:22:30 +08:00
parent 530d32f2af
commit 40a4d3e8c5
41 changed files with 98 additions and 98 deletions

View File

@@ -2,7 +2,7 @@
<configuration default="false" name="MiniProgram" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> <configuration default="false" name="MiniProgram" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" /> <option name="ACTIVE_PROFILES" />
<module name="microservice-provider-miniprogram-8080" /> <module name="microservice-provider-miniprogram-8080" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.cxyxiaomo.Application" /> <option name="SPRING_BOOT_MAIN_CLASS" value="com.cxyxiaomo.epp.Application" />
<method v="2"> <method v="2">
<option name="Make" enabled="true" /> <option name="Make" enabled="true" />
</method> </method>

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo; package com.cxyxiaomo.epp;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import com.cxyxiaomo.index.pojo.Apply; import com.cxyxiaomo.epp.index.pojo.Apply;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.index.service.ApplyService; import com.cxyxiaomo.epp.index.service.ApplyService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import com.cxyxiaomo.index.pojo.Notice; import com.cxyxiaomo.epp.index.pojo.Notice;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.index.service.NoticeService; import com.cxyxiaomo.epp.index.service.NoticeService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.index.service.OtherService; import com.cxyxiaomo.epp.index.service.OtherService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import com.cxyxiaomo.index.pojo.Report; import com.cxyxiaomo.epp.index.pojo.Report;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.index.service.ReportService; import com.cxyxiaomo.epp.index.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.index.pojo.User; import com.cxyxiaomo.epp.index.pojo.User;
import com.cxyxiaomo.index.service.UserService; import com.cxyxiaomo.epp.index.service.UserService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.controller; package com.cxyxiaomo.epp.index.controller;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.dao; package com.cxyxiaomo.epp.index.dao;
import com.cxyxiaomo.index.pojo.Apply; import com.cxyxiaomo.epp.index.pojo.Apply;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.dao; package com.cxyxiaomo.epp.index.dao;
import com.cxyxiaomo.index.pojo.Notice; import com.cxyxiaomo.epp.index.pojo.Notice;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.dao; package com.cxyxiaomo.epp.index.dao;
import com.cxyxiaomo.index.pojo.Feedback; import com.cxyxiaomo.epp.index.pojo.Feedback;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.dao; package com.cxyxiaomo.epp.index.dao;
import com.cxyxiaomo.index.pojo.Report; import com.cxyxiaomo.epp.index.pojo.Report;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.dao; package com.cxyxiaomo.epp.index.dao;
import com.cxyxiaomo.index.pojo.User; import com.cxyxiaomo.epp.index.pojo.User;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.index.pojo; package com.cxyxiaomo.epp.index.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.pojo.Apply; import com.cxyxiaomo.epp.index.pojo.Apply;
import java.util.List; import java.util.List;

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.dao.ApplyDao; import com.cxyxiaomo.epp.index.dao.ApplyDao;
import com.cxyxiaomo.index.pojo.Apply; import com.cxyxiaomo.epp.index.pojo.Apply;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.pojo.Notice; import com.cxyxiaomo.epp.index.pojo.Notice;
import java.util.List; import java.util.List;

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.dao.NoticeDao; import com.cxyxiaomo.epp.index.dao.NoticeDao;
import com.cxyxiaomo.index.pojo.Notice; import com.cxyxiaomo.epp.index.pojo.Notice;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.pojo.Feedback; import com.cxyxiaomo.epp.index.pojo.Feedback;
import java.util.List; import java.util.List;

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.dao.OtherDao; import com.cxyxiaomo.epp.index.dao.OtherDao;
import com.cxyxiaomo.index.pojo.Feedback; import com.cxyxiaomo.epp.index.pojo.Feedback;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.pojo.Report; import com.cxyxiaomo.epp.index.pojo.Report;
import java.util.List; import java.util.List;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.dao.ReportDao; import com.cxyxiaomo.epp.index.dao.ReportDao;
import com.cxyxiaomo.index.dao.UserDao; import com.cxyxiaomo.epp.index.dao.UserDao;
import com.cxyxiaomo.index.pojo.Report; import com.cxyxiaomo.epp.index.pojo.Report;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.pojo.User; import com.cxyxiaomo.epp.index.pojo.User;
import java.util.List; import java.util.List;

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.index.service; package com.cxyxiaomo.epp.index.service;
import com.cxyxiaomo.index.dao.UserDao; import com.cxyxiaomo.epp.index.dao.UserDao;
import com.cxyxiaomo.index.pojo.User; import com.cxyxiaomo.epp.index.pojo.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.visitor.controller; package com.cxyxiaomo.epp.visitor.controller;
import com.cxyxiaomo.index.pojo.Res; import com.cxyxiaomo.epp.index.pojo.Res;
import com.cxyxiaomo.visitor.pojo.Visitor; import com.cxyxiaomo.epp.visitor.service.VisitorService;
import com.cxyxiaomo.visitor.service.VisitorService; import com.cxyxiaomo.epp.visitor.pojo.Visitor;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.visitor.dao; package com.cxyxiaomo.epp.visitor.dao;
import com.cxyxiaomo.visitor.pojo.Visitor; import com.cxyxiaomo.epp.visitor.pojo.Visitor;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;

View File

@@ -1,4 +1,4 @@
package com.cxyxiaomo.visitor.pojo; package com.cxyxiaomo.epp.visitor.pojo;
import lombok.Data; import lombok.Data;

View File

@@ -1,6 +1,6 @@
package com.cxyxiaomo.visitor.service; package com.cxyxiaomo.epp.visitor.service;
import com.cxyxiaomo.visitor.pojo.Visitor; import com.cxyxiaomo.epp.visitor.pojo.Visitor;
import java.util.List; import java.util.List;

View File

@@ -1,8 +1,8 @@
package com.cxyxiaomo.visitor.service.impl; package com.cxyxiaomo.epp.visitor.service.impl;
import com.cxyxiaomo.visitor.dao.VisitorDao; import com.cxyxiaomo.epp.visitor.pojo.Visitor;
import com.cxyxiaomo.visitor.pojo.Visitor; import com.cxyxiaomo.epp.visitor.service.VisitorService;
import com.cxyxiaomo.visitor.service.VisitorService; import com.cxyxiaomo.epp.visitor.dao.VisitorDao;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.index.dao.ApplyDao"> <mapper namespace="com.cxyxiaomo.epp.index.dao.ApplyDao">
<insert id="applySub"> <insert id="applySub">
insert into apply insert into apply
@@ -15,12 +15,12 @@
<select id="lastApply" resultType="java.lang.Integer"> <select id="lastApply" resultType="java.lang.Integer">
select * from apply where stu_id = #{id} and state = 0 limit 1 select * from apply where stu_id = #{id} and state = 0 limit 1
</select> </select>
<select id="applyListNoReplay" resultType="com.cxyxiaomo.index.pojo.Apply"> <select id="applyListNoReplay" resultType="com.cxyxiaomo.epp.index.pojo.Apply">
select a.*,u.name,u.stu_id as stuId from apply a select a.*,u.name,u.stu_id as stuId from apply a
left join user u on a.stu_id = u.id left join user u on a.stu_id = u.id
where a.state = 0 where a.state = 0
</select> </select>
<select id="myApply" resultType="com.cxyxiaomo.index.pojo.Apply"> <select id="myApply" resultType="com.cxyxiaomo.epp.index.pojo.Apply">
select a.*,u.name,u.stu_id as stuId from apply a select a.*,u.name,u.stu_id as stuId from apply a
left join user u on a.stu_id = u.id left join user u on a.stu_id = u.id
where a.stu_id = #{id} where a.stu_id = #{id}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.index.dao.NoticeDao"> <mapper namespace="com.cxyxiaomo.epp.index.dao.NoticeDao">
<insert id="addNotice"> <insert id="addNotice">
insert into notice (title, content , time) values insert into notice (title, content , time) values
@@ -10,7 +10,7 @@
<delete id="delNotice"> <delete id="delNotice">
delete from notice where id = #{id} delete from notice where id = #{id}
</delete> </delete>
<select id="noticeList" resultType="com.cxyxiaomo.index.pojo.Notice"> <select id="noticeList" resultType="com.cxyxiaomo.epp.index.pojo.Notice">
select * from notice order by time desc select * from notice order by time desc
<if test="limit!= ''"> <if test="limit!= ''">
limit ${limit} limit ${limit}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.index.dao.OtherDao"> <mapper namespace="com.cxyxiaomo.epp.index.dao.OtherDao">
<insert id="subFeedback"> <insert id="subFeedback">
insert into feedback (title, content, time, user_id) values insert into feedback (title, content, time, user_id) values
@@ -11,7 +11,7 @@
update feedback set reply = #{replay} update feedback set reply = #{replay}
where id = #{id} where id = #{id}
</update> </update>
<select id="feedbackList" resultType="com.cxyxiaomo.index.pojo.Feedback"> <select id="feedbackList" resultType="com.cxyxiaomo.epp.index.pojo.Feedback">
select * from feedback select * from feedback
<where> <where>
<if test="id != null"> <if test="id != null">
@@ -19,7 +19,7 @@
</if> </if>
</where> </where>
</select> </select>
<select id="feedbackListNoReplay" resultType="com.cxyxiaomo.index.pojo.Feedback"> <select id="feedbackListNoReplay" resultType="com.cxyxiaomo.epp.index.pojo.Feedback">
select * from feedback where reply is null select * from feedback where reply is null
</select> </select>
</mapper> </mapper>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.index.dao.ReportDao"> <mapper namespace="com.cxyxiaomo.epp.index.dao.ReportDao">
<insert id="doReport"> <insert id="doReport">
insert into report insert into report
@@ -11,7 +11,7 @@
(#{user_id},#{name},#{address},#{time},#{normal},#{yes_noon_temp}, (#{user_id},#{name},#{address},#{time},#{normal},#{yes_noon_temp},
#{yes_night_temp},#{today_morning_temp},#{isolation}) #{yes_night_temp},#{today_morning_temp},#{isolation})
</insert> </insert>
<select id="myReport" resultType="com.cxyxiaomo.index.pojo.Report"> <select id="myReport" resultType="com.cxyxiaomo.epp.index.pojo.Report">
select name,time,normal,address from report where user_id = #{id} select name,time,normal,address from report where user_id = #{id}
order by time desc order by time desc
</select> </select>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.index.dao.UserDao"> <mapper namespace="com.cxyxiaomo.epp.index.dao.UserDao">
<insert id="addUser"> <insert id="addUser">
insert into user insert into user
(username, name, password, role, stu_id) values (username, name, password, role, stu_id) values
@@ -19,20 +19,20 @@
update user set state = #{date} update user set state = #{date}
where id = #{id} where id = #{id}
</update> </update>
<select id="selectAll" resultType="com.cxyxiaomo.index.pojo.User"> <select id="selectAll" resultType="com.cxyxiaomo.epp.index.pojo.User">
select * from `user` select * from `user`
</select> </select>
<select id="getUserByUsername" resultType="com.cxyxiaomo.index.pojo.User"> <select id="getUserByUsername" resultType="com.cxyxiaomo.epp.index.pojo.User">
select * from user where username = #{username} select * from user where username = #{username}
</select> </select>
<select id="getUser" resultType="com.cxyxiaomo.index.pojo.User"> <select id="getUser" resultType="com.cxyxiaomo.epp.index.pojo.User">
select * from user where username = #{username} and role_id = #{role} select * from user where username = #{username} and role_id = #{role}
</select> </select>
<select id="redCodeList" resultType="com.cxyxiaomo.index.pojo.User"> <select id="redCodeList" resultType="com.cxyxiaomo.epp.index.pojo.User">
select name,stu_id from user where TO_DAYS(NOW( )) != TO_DAYS(state) and role = 2 select name,stu_id from user where TO_DAYS(NOW( )) != TO_DAYS(state) and role = 2
</select> </select>
<select id="redCodeList2" resultType="com.cxyxiaomo.index.pojo.User"> <select id="redCodeList2" resultType="com.cxyxiaomo.epp.index.pojo.User">
select name,stu_id from user where state = "1999-01-01" select name,stu_id from user where state = "1999-01-01"
</select> </select>
</mapper> </mapper>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cxyxiaomo.visitor.dao.VisitorDao"> <mapper namespace="com.cxyxiaomo.epp.visitor.dao.VisitorDao">
<insert id="visitorApply"> <insert id="visitorApply">
insert into visitor insert into visitor
(time,phone,issue,meet_name,create_time) values (time,phone,issue,meet_name,create_time) values
@@ -19,7 +19,7 @@
<select id="showMyVisitor" resultType="java.lang.Integer"> <select id="showMyVisitor" resultType="java.lang.Integer">
select state from visitor where phone = #{phone} and TO_DAYS(NOW( )) - TO_DAYS(time) = 0 select state from visitor where phone = #{phone} and TO_DAYS(NOW( )) - TO_DAYS(time) = 0
</select> </select>
<select id="showVisitorList" resultType="com.cxyxiaomo.visitor.pojo.Visitor"> <select id="showVisitorList" resultType="com.cxyxiaomo.epp.visitor.pojo.Visitor">
select * from visitor where state = 0 select * from visitor where state = 0
</select> </select>
</mapper> </mapper>

View File

@@ -1,7 +1,7 @@
package com.cxyxiaomo.epp.controller; package com.cxyxiaomo.epp.controller;
import com.cxyxiaomo.epp.pojo.User;
import com.cxyxiaomo.epp.service.UserServiceImpl; import com.cxyxiaomo.epp.service.UserServiceImpl;
import com.cxyxiaomo.epp.pojo.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;