inspect-server/src/main/java/com/yuanchu/mom/mapper/InsReportMapper.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/java/com/yuanchu/mom/pojo/InsReport.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/java/com/yuanchu/mom/service/InsProductService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/java/com/yuanchu/mom/service/InsReportService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsProductServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
inspect-server/src/main/resources/mapper/InsReportMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
inspect-server/src/main/java/com/yuanchu/mom/mapper/InsReportMapper.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,18 @@ package com.yuanchu.mom.mapper; import com.yuanchu.mom.pojo.InsReport; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @author Administrator * @description é对表ãins_report(æ£éªæ¥å)ãçæ°æ®åºæä½Mapper * @createDate 2024-03-17 22:10:02 * @Entity com.yuanchu.mom.pojo.InsReport */ public interface InsReportMapper extends BaseMapper<InsReport> { } inspect-server/src/main/java/com/yuanchu/mom/pojo/InsReport.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,76 @@ package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.*; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * æ£éªæ¥å * @TableName ins_report */ @TableName(value ="ins_report") @Data public class InsReport implements Serializable { /** * */ @TableId(type = IdType.AUTO) private Integer id; /** * å¤é®ï¼æ£éªåid */ private Integer insOrderId; /** * ç³»ç»çææ¥åå°å */ private String url; /** * æå¨ä¸ä¼ æ¥åå°å */ private String urlS; /** * 1ï¼æ¹å 0ï¼æªæ¹å */ private Integer isRatify; /** * 1ï¼å®¡æ ¸ 0ï¼æªå®¡æ ¸ */ private Integer isExamine; /** * å¤é®ï¼ç¨æ·idï¼æ¹åäººï¼ */ private Integer ratifyUserId; /** * å¤é®ï¼ç¨æ·idï¼å®¡æ ¸äººï¼ */ private Integer examineUserId; @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty("å建æ¶é´") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @ApiModelProperty("ä¿®æ¹æ¶é´") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; } inspect-server/src/main/java/com/yuanchu/mom/service/InsProductService.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,15 @@ package com.yuanchu.mom.service; import com.yuanchu.mom.pojo.InsProduct; import com.baomidou.mybatisplus.extension.service.IService; /** * @author Administrator * @description é对表ãins_product(æ£éªé¡¹ç®)ãçæ°æ®åºæä½Service * @createDate 2024-03-17 23:57:39 */ public interface InsProductService extends IService<InsProduct> { int selectOrderManDay(Integer orderId); } inspect-server/src/main/java/com/yuanchu/mom/service/InsReportService.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,13 @@ package com.yuanchu.mom.service; import com.yuanchu.mom.pojo.InsReport; import com.baomidou.mybatisplus.extension.service.IService; /** * @author Administrator * @description é对表ãins_report(æ£éªæ¥å)ãçæ°æ®åºæä½Service * @createDate 2024-03-17 22:10:02 */ public interface InsReportService extends IService<InsReport> { } inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsProductServiceImpl.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,25 @@ package com.yuanchu.mom.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.yuanchu.mom.mapper.InsProductMapper; import com.yuanchu.mom.pojo.InsProduct; import com.yuanchu.mom.service.InsProductService; import lombok.AllArgsConstructor; import org.springframework.stereotype.Service; @Service @AllArgsConstructor public class InsProductServiceImpl extends ServiceImpl<InsProductMapper, InsProduct> implements InsProductService { private InsProductMapper insProductMapper; @Override public int selectOrderManDay(Integer orderId) { return insProductMapper.selectOrderManDay(orderId); } } inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,22 @@ package com.yuanchu.mom.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.yuanchu.mom.pojo.InsReport; import com.yuanchu.mom.service.InsReportService; import com.yuanchu.mom.mapper.InsReportMapper; import org.springframework.stereotype.Service; /** * @author Administrator * @description é对表ãins_report(æ£éªæ¥å)ãçæ°æ®åºæä½Serviceå®ç° * @createDate 2024-03-17 22:10:02 */ @Service public class InsReportServiceImpl extends ServiceImpl<InsReportMapper, InsReport> implements InsReportService{ } inspect-server/src/main/resources/mapper/InsReportMapper.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,28 @@ <?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"> <mapper namespace="com.yuanchu.mom.mapper.InsReportMapper"> <resultMap id="BaseResultMap" type="com.yuanchu.mom.pojo.InsReport"> <id property="id" column="id" jdbcType="INTEGER"/> <result property="insOrderId" column="ins_order_id" jdbcType="INTEGER"/> <result property="url" column="url" jdbcType="VARCHAR"/> <result property="urlS" column="url_s" jdbcType="VARCHAR"/> <result property="isRatify" column="is_ratify" jdbcType="INTEGER"/> <result property="isExamine" column="is_examine" jdbcType="INTEGER"/> <result property="ratifyUserId" column="ratify_user_id" jdbcType="INTEGER"/> <result property="examineUserId" column="examine_user_id" jdbcType="INTEGER"/> <result property="createUser" column="create_user" jdbcType="INTEGER"/> <result property="updateUser" column="update_user" jdbcType="INTEGER"/> <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> </resultMap> <sql id="Base_Column_List"> id,ins_order_id,url, url_s,is_ratify,is_examine, ratify_user_id,examine_user_id,create_user, update_user,create_time,update_time </sql> </mapper>