person,cert
							parent
							
								
									c2b766152c
								
							
						
					
					
						commit
						79a40a4100
					
				@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.dao.auth;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import com.glxp.api.dao.BaseMapperPlus;
 | 
				
			||||||
 | 
					import com.glxp.api.entity.auth.DeptEntity;
 | 
				
			||||||
 | 
					import com.glxp.api.entity.auth.UserPersonEntity;
 | 
				
			||||||
 | 
					import com.glxp.api.req.auth.FilterInvWarehouseRequest;
 | 
				
			||||||
 | 
					import org.apache.ibatis.annotations.Param;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.Date;
 | 
				
			||||||
 | 
					import java.util.List;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public interface UserPersonDao extends BaseMapperPlus<UserPersonDao, UserPersonEntity, UserPersonEntity> {
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,28 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.entity.auth;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import com.baomidou.mybatisplus.annotation.TableName;
 | 
				
			||||||
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Data
 | 
				
			||||||
 | 
					@TableName("user_cert")
 | 
				
			||||||
 | 
					public class UserCertEntity {
 | 
				
			||||||
 | 
					    private Long id;
 | 
				
			||||||
 | 
					    private Long registerId;
 | 
				
			||||||
 | 
					    private Long companyId;
 | 
				
			||||||
 | 
					    private String name;
 | 
				
			||||||
 | 
					    private String code;
 | 
				
			||||||
 | 
					    private String filePath;
 | 
				
			||||||
 | 
					    private String validDate;
 | 
				
			||||||
 | 
					    private String expireDate;
 | 
				
			||||||
 | 
					    private String checkStatus;
 | 
				
			||||||
 | 
					    private String checkTime;
 | 
				
			||||||
 | 
					    private String checkComment;
 | 
				
			||||||
 | 
					    private String status;
 | 
				
			||||||
 | 
					    private String remark;
 | 
				
			||||||
 | 
					    private String createUser;
 | 
				
			||||||
 | 
					    private String createTime;
 | 
				
			||||||
 | 
					    private String updateUser;
 | 
				
			||||||
 | 
					    private String updateTime;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.entity.auth;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import com.baomidou.mybatisplus.annotation.TableName;
 | 
				
			||||||
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Data
 | 
				
			||||||
 | 
					@TableName("user_person")
 | 
				
			||||||
 | 
					public class UserPersonEntity {
 | 
				
			||||||
 | 
					    private Long id;
 | 
				
			||||||
 | 
					    private Long registerId;
 | 
				
			||||||
 | 
					    private Long companyId;
 | 
				
			||||||
 | 
					    private String name;
 | 
				
			||||||
 | 
					    private String tel;
 | 
				
			||||||
 | 
					    private String mobile;
 | 
				
			||||||
 | 
					    private String qq;
 | 
				
			||||||
 | 
					    private String weChart;
 | 
				
			||||||
 | 
					    private String email;
 | 
				
			||||||
 | 
					    private String createTime;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,33 @@
 | 
				
			|||||||
 | 
					<?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.glxp.api.dao.auth.UserPersonDao">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <insert id="insert" keyProperty="roleId" useGeneratedKeys="true"
 | 
				
			||||||
 | 
					            parameterType="com.glxp.api.entity.auth.UserPersonEntity">
 | 
				
			||||||
 | 
					     
 | 
				
			||||||
 | 
					    </insert>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <update id="updateById" parameterType="com.glxp.api.entity.auth.UserPersonEntity">
 | 
				
			||||||
 | 
					     
 | 
				
			||||||
 | 
					    </update>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <delete id="deleteBatchIds" parameterType="java.util.List"
 | 
				
			||||||
 | 
					    >
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    </delete>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <delete id="deleteById" parameterType="java.lang.Long">
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    </delete>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</mapper>
 | 
				
			||||||
					Loading…
					
					
				
		Reference in New Issue