Commit a3f204bb by huluobin

Merge branch 'master' into 3.5

# Conflicts:
#	src/main/java/com/gogirl/application/order/serve/impl/OrderManageServiceImpl.java
parents b2cd760c 1c751e10
...@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
...@@ -23,12 +24,14 @@ public class TrainingStartClass { ...@@ -23,12 +24,14 @@ public class TrainingStartClass {
private String lecturer; private String lecturer;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date time; private Date time;
private Integer duration; private Integer duration;
private Integer status; private Integer status;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime; private Date createTime;
@TableField(exist = false) @TableField(exist = false)
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<select id="appliedList" resultType="com.gogirl.domain.store.oa.TakeLeaveEvent"> <select id="appliedList" resultType="com.gogirl.domain.store.oa.TakeLeaveEvent">
SELECT * SELECT *
from take_leave_event from take_leave_event
where (start_time &lt;= #{endTime} and end_time &gt;= #{endTime} where (start_time &lt; #{endTime} and end_time &gt; #{endTime}
or start_time &lt;= #{startTime} and start_time &gt;= #{startTime}) or start_time &lt; #{startTime} and start_time &gt; #{startTime})
and apply_technician_id = #{applyTechnicianId} and apply_technician_id = #{applyTechnicianId}
and `status` != 3 and `status` != 3
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment