Browse Source

打卡签到表结构

pengjing 3 months ago
parent
commit
feb5ea09cd

File diff suppressed because it is too large
+ 1193 - 778
doc/就业驿站管理系统.pdb


File diff suppressed because it is too large
+ 1170 - 776
doc/就业驿站管理系统.pdm


+ 36 - 0
doc/待更新脚本.txt

@@ -0,0 +1,36 @@
+-- 2024.8.6
+create table pc_signin
+(
+   SigninId             varchar(50) not null comment '唯一标识',
+   SiteID               varchar(50) comment '所属驿站',
+   SigninType           int comment '打卡类型,字典:SigninType',
+   CompanyID            varchar(50) comment '走访企业',
+   JobuserID            varchar(50) comment '走访人员',
+   SigninTime           datetime comment '打卡时间',
+   Content              text comment '服务内容',
+   Longitude            varchar(50) comment '经度',
+   Latitude             varchar(50) comment '纬度',
+   RecordStatus         int comment '状态',
+   CreateUserID         varchar(50) comment '创建人',
+   CreateTime           datetime comment '创建时间',
+   ModifyUserID         varchar(50) comment '修改人',
+   ModifyTime           datetime comment '修改时间',
+   primary key (SigninId)
+);
+
+alter table pc_signin add constraint FK_Pc_Signin_Ref_Company foreign key (CompanyID)
+      references pc_company (CompanyID) on delete restrict on update restrict;
+
+alter table pc_signin add constraint FK_Pc_Signin_Ref_JobUser foreign key (JobuserID)
+      references pc_jobuser (JobuserID) on delete restrict on update restrict;
+
+alter table pc_signin add constraint FK_Pc_Signin_Ref_Site foreign key (SiteID)
+      references pc_site (SiteID) on delete restrict on update restrict;
+
+
+ INSERT INTO `sys_dictionary` (`DictionaryCode`, `Name`, `OrderNo`, `RecordStatus`) VALUES
+ ('SigninType', '打卡类型', 200, 1);
+ INSERT INTO `sys_dictionary_item` (`DictionaryItemID`, `Code`, `DictionaryCode`, `Value`, `Name`, `OrderNo`, `RecordStatus`, `IsEditable`) VALUES
+ ('ac93ede5-538d-11ef-8d63-7085c2a9999e', '', 'SigninType', 1, '走访企业', 1, 1, 0),
+ ('b100cbf2-538d-11ef-8d63-7085c2a9999e', '', 'SigninType', 2, '走访人员', 2, 1, 0),
+ ('b4ec8c51-538d-11ef-8d63-7085c2a9999e', '', 'SigninType', 3, '其他外联事项', 3, 1, 0);

+ 36 - 0
src/main/java/com/hz/employmentsite/mapper/PcSigninMapper.java

@@ -0,0 +1,36 @@
+package com.hz.employmentsite.mapper;
+
+import com.hz.employmentsite.model.PcSignin;
+import com.hz.employmentsite.model.PcSigninExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface PcSigninMapper {
+    long countByExample(PcSigninExample example);
+
+    int deleteByExample(PcSigninExample example);
+
+    int deleteByPrimaryKey(String signinId);
+
+    int insert(PcSignin row);
+
+    int insertSelective(PcSignin row);
+
+    List<PcSignin> selectByExampleWithBLOBs(PcSigninExample example);
+
+    List<PcSignin> selectByExample(PcSigninExample example);
+
+    PcSignin selectByPrimaryKey(String signinId);
+
+    int updateByExampleSelective(@Param("row") PcSignin row, @Param("example") PcSigninExample example);
+
+    int updateByExampleWithBLOBs(@Param("row") PcSignin row, @Param("example") PcSigninExample example);
+
+    int updateByExample(@Param("row") PcSignin row, @Param("example") PcSigninExample example);
+
+    int updateByPrimaryKeySelective(PcSignin row);
+
+    int updateByPrimaryKeyWithBLOBs(PcSignin row);
+
+    int updateByPrimaryKey(PcSignin row);
+}

+ 145 - 0
src/main/java/com/hz/employmentsite/model/PcSignin.java

@@ -0,0 +1,145 @@
+package com.hz.employmentsite.model;
+
+import java.util.Date;
+
+public class PcSignin {
+    private String signinId;
+
+    private String siteID;
+
+    private Integer signinType;
+
+    private String companyID;
+
+    private String jobuserID;
+
+    private Date signinTime;
+
+    private String longitude;
+
+    private String latitude;
+
+    private Integer recordStatus;
+
+    private String createUserID;
+
+    private Date createTime;
+
+    private String modifyUserID;
+
+    private Date modifyTime;
+
+    private String content;
+
+    public String getSigninId() {
+        return signinId;
+    }
+
+    public void setSigninId(String signinId) {
+        this.signinId = signinId == null ? null : signinId.trim();
+    }
+
+    public String getSiteID() {
+        return siteID;
+    }
+
+    public void setSiteID(String siteID) {
+        this.siteID = siteID == null ? null : siteID.trim();
+    }
+
+    public Integer getSigninType() {
+        return signinType;
+    }
+
+    public void setSigninType(Integer signinType) {
+        this.signinType = signinType;
+    }
+
+    public String getCompanyID() {
+        return companyID;
+    }
+
+    public void setCompanyID(String companyID) {
+        this.companyID = companyID == null ? null : companyID.trim();
+    }
+
+    public String getJobuserID() {
+        return jobuserID;
+    }
+
+    public void setJobuserID(String jobuserID) {
+        this.jobuserID = jobuserID == null ? null : jobuserID.trim();
+    }
+
+    public Date getSigninTime() {
+        return signinTime;
+    }
+
+    public void setSigninTime(Date signinTime) {
+        this.signinTime = signinTime;
+    }
+
+    public String getLongitude() {
+        return longitude;
+    }
+
+    public void setLongitude(String longitude) {
+        this.longitude = longitude == null ? null : longitude.trim();
+    }
+
+    public String getLatitude() {
+        return latitude;
+    }
+
+    public void setLatitude(String latitude) {
+        this.latitude = latitude == null ? null : latitude.trim();
+    }
+
+    public Integer getRecordStatus() {
+        return recordStatus;
+    }
+
+    public void setRecordStatus(Integer recordStatus) {
+        this.recordStatus = recordStatus;
+    }
+
+    public String getCreateUserID() {
+        return createUserID;
+    }
+
+    public void setCreateUserID(String createUserID) {
+        this.createUserID = createUserID == null ? null : createUserID.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getModifyUserID() {
+        return modifyUserID;
+    }
+
+    public void setModifyUserID(String modifyUserID) {
+        this.modifyUserID = modifyUserID == null ? null : modifyUserID.trim();
+    }
+
+    public Date getModifyTime() {
+        return modifyTime;
+    }
+
+    public void setModifyTime(Date modifyTime) {
+        this.modifyTime = modifyTime;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content == null ? null : content.trim();
+    }
+}

File diff suppressed because it is too large
+ 1060 - 0
src/main/java/com/hz/employmentsite/model/PcSigninExample.java


+ 3 - 2
src/main/resources/generatorConfig.xml

@@ -109,8 +109,9 @@
 <!--        <table schema="" tableName="pc_jobuser"><property name="useActualColumnNames" value="true"/></table>-->
 <!--        <table schema="" tableName="pc_education"><property name="useActualColumnNames" value="true"/></table>-->
         <!--<table schema="" tableName="wx_qrcode"><property name="useActualColumnNames" value="true"/></table>
-        <table schema="" tableName="wx_qrcode_scan_record"><property name="useActualColumnNames" value="true"/></table>-->
-        <table schema="" tableName="pc_credit_record"><property name="useActualColumnNames" value="true"/></table>
+        <table schema="" tableName="wx_qrcode_scan_record"><property name="useActualColumnNames" value="true"/></table>
+         <table schema="" tableName="pc_signin"><property name="useActualColumnNames" value="true"/></table>
+        -->
 
     </context>
 </generatorConfiguration>

+ 411 - 0
src/main/resources/mapping/PcSigninMapper.xml

@@ -0,0 +1,411 @@
+<?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.hz.employmentsite.mapper.PcSigninMapper">
+  <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcSignin">
+    <id column="SigninId" jdbcType="VARCHAR" property="signinId" />
+    <result column="SiteID" jdbcType="VARCHAR" property="siteID" />
+    <result column="SigninType" jdbcType="INTEGER" property="signinType" />
+    <result column="CompanyID" jdbcType="VARCHAR" property="companyID" />
+    <result column="JobuserID" jdbcType="VARCHAR" property="jobuserID" />
+    <result column="SigninTime" jdbcType="TIMESTAMP" property="signinTime" />
+    <result column="Longitude" jdbcType="VARCHAR" property="longitude" />
+    <result column="Latitude" jdbcType="VARCHAR" property="latitude" />
+    <result column="RecordStatus" jdbcType="INTEGER" property="recordStatus" />
+    <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID" />
+    <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
+    <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
+  </resultMap>
+  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcSignin">
+    <result column="Content" jdbcType="LONGVARCHAR" property="content" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    SigninId, SiteID, SigninType, CompanyID, JobuserID, SigninTime, Longitude, Latitude, 
+    RecordStatus, CreateUserID, CreateTime, ModifyUserID, ModifyTime
+  </sql>
+  <sql id="Blob_Column_List">
+    Content
+  </sql>
+  <select id="selectByExampleWithBLOBs" parameterType="com.hz.employmentsite.model.PcSigninExample" resultMap="ResultMapWithBLOBs">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from pc_signin
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcSigninExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from pc_signin
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
+    select 
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from pc_signin
+    where SigninId = #{signinId,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from pc_signin
+    where SigninId = #{signinId,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcSigninExample">
+    delete from pc_signin
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.hz.employmentsite.model.PcSignin">
+    insert into pc_signin (SigninId, SiteID, SigninType, 
+      CompanyID, JobuserID, SigninTime, 
+      Longitude, Latitude, RecordStatus, 
+      CreateUserID, CreateTime, ModifyUserID, 
+      ModifyTime, Content)
+    values (#{signinId,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{signinType,jdbcType=INTEGER}, 
+      #{companyID,jdbcType=VARCHAR}, #{jobuserID,jdbcType=VARCHAR}, #{signinTime,jdbcType=TIMESTAMP}, 
+      #{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{recordStatus,jdbcType=INTEGER}, 
+      #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, 
+      #{modifyTime,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcSignin">
+    insert into pc_signin
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="signinId != null">
+        SigninId,
+      </if>
+      <if test="siteID != null">
+        SiteID,
+      </if>
+      <if test="signinType != null">
+        SigninType,
+      </if>
+      <if test="companyID != null">
+        CompanyID,
+      </if>
+      <if test="jobuserID != null">
+        JobuserID,
+      </if>
+      <if test="signinTime != null">
+        SigninTime,
+      </if>
+      <if test="longitude != null">
+        Longitude,
+      </if>
+      <if test="latitude != null">
+        Latitude,
+      </if>
+      <if test="recordStatus != null">
+        RecordStatus,
+      </if>
+      <if test="createUserID != null">
+        CreateUserID,
+      </if>
+      <if test="createTime != null">
+        CreateTime,
+      </if>
+      <if test="modifyUserID != null">
+        ModifyUserID,
+      </if>
+      <if test="modifyTime != null">
+        ModifyTime,
+      </if>
+      <if test="content != null">
+        Content,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="signinId != null">
+        #{signinId,jdbcType=VARCHAR},
+      </if>
+      <if test="siteID != null">
+        #{siteID,jdbcType=VARCHAR},
+      </if>
+      <if test="signinType != null">
+        #{signinType,jdbcType=INTEGER},
+      </if>
+      <if test="companyID != null">
+        #{companyID,jdbcType=VARCHAR},
+      </if>
+      <if test="jobuserID != null">
+        #{jobuserID,jdbcType=VARCHAR},
+      </if>
+      <if test="signinTime != null">
+        #{signinTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="longitude != null">
+        #{longitude,jdbcType=VARCHAR},
+      </if>
+      <if test="latitude != null">
+        #{latitude,jdbcType=VARCHAR},
+      </if>
+      <if test="recordStatus != null">
+        #{recordStatus,jdbcType=INTEGER},
+      </if>
+      <if test="createUserID != null">
+        #{createUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="modifyUserID != null">
+        #{modifyUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="modifyTime != null">
+        #{modifyTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="content != null">
+        #{content,jdbcType=LONGVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.hz.employmentsite.model.PcSigninExample" resultType="java.lang.Long">
+    select count(*) from pc_signin
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update pc_signin
+    <set>
+      <if test="row.signinId != null">
+        SigninId = #{row.signinId,jdbcType=VARCHAR},
+      </if>
+      <if test="row.siteID != null">
+        SiteID = #{row.siteID,jdbcType=VARCHAR},
+      </if>
+      <if test="row.signinType != null">
+        SigninType = #{row.signinType,jdbcType=INTEGER},
+      </if>
+      <if test="row.companyID != null">
+        CompanyID = #{row.companyID,jdbcType=VARCHAR},
+      </if>
+      <if test="row.jobuserID != null">
+        JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
+      </if>
+      <if test="row.signinTime != null">
+        SigninTime = #{row.signinTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="row.longitude != null">
+        Longitude = #{row.longitude,jdbcType=VARCHAR},
+      </if>
+      <if test="row.latitude != null">
+        Latitude = #{row.latitude,jdbcType=VARCHAR},
+      </if>
+      <if test="row.recordStatus != null">
+        RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
+      </if>
+      <if test="row.createUserID != null">
+        CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="row.createTime != null">
+        CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="row.modifyUserID != null">
+        ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="row.modifyTime != null">
+        ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="row.content != null">
+        Content = #{row.content,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExampleWithBLOBs" parameterType="map">
+    update pc_signin
+    set SigninId = #{row.signinId,jdbcType=VARCHAR},
+      SiteID = #{row.siteID,jdbcType=VARCHAR},
+      SigninType = #{row.signinType,jdbcType=INTEGER},
+      CompanyID = #{row.companyID,jdbcType=VARCHAR},
+      JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
+      SigninTime = #{row.signinTime,jdbcType=TIMESTAMP},
+      Longitude = #{row.longitude,jdbcType=VARCHAR},
+      Latitude = #{row.latitude,jdbcType=VARCHAR},
+      RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
+      CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
+      CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
+      Content = #{row.content,jdbcType=LONGVARCHAR}
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update pc_signin
+    set SigninId = #{row.signinId,jdbcType=VARCHAR},
+      SiteID = #{row.siteID,jdbcType=VARCHAR},
+      SigninType = #{row.signinType,jdbcType=INTEGER},
+      CompanyID = #{row.companyID,jdbcType=VARCHAR},
+      JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
+      SigninTime = #{row.signinTime,jdbcType=TIMESTAMP},
+      Longitude = #{row.longitude,jdbcType=VARCHAR},
+      Latitude = #{row.latitude,jdbcType=VARCHAR},
+      RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
+      CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
+      CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcSignin">
+    update pc_signin
+    <set>
+      <if test="siteID != null">
+        SiteID = #{siteID,jdbcType=VARCHAR},
+      </if>
+      <if test="signinType != null">
+        SigninType = #{signinType,jdbcType=INTEGER},
+      </if>
+      <if test="companyID != null">
+        CompanyID = #{companyID,jdbcType=VARCHAR},
+      </if>
+      <if test="jobuserID != null">
+        JobuserID = #{jobuserID,jdbcType=VARCHAR},
+      </if>
+      <if test="signinTime != null">
+        SigninTime = #{signinTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="longitude != null">
+        Longitude = #{longitude,jdbcType=VARCHAR},
+      </if>
+      <if test="latitude != null">
+        Latitude = #{latitude,jdbcType=VARCHAR},
+      </if>
+      <if test="recordStatus != null">
+        RecordStatus = #{recordStatus,jdbcType=INTEGER},
+      </if>
+      <if test="createUserID != null">
+        CreateUserID = #{createUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        CreateTime = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="modifyUserID != null">
+        ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
+      </if>
+      <if test="modifyTime != null">
+        ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="content != null">
+        Content = #{content,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    where SigninId = #{signinId,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hz.employmentsite.model.PcSignin">
+    update pc_signin
+    set SiteID = #{siteID,jdbcType=VARCHAR},
+      SigninType = #{signinType,jdbcType=INTEGER},
+      CompanyID = #{companyID,jdbcType=VARCHAR},
+      JobuserID = #{jobuserID,jdbcType=VARCHAR},
+      SigninTime = #{signinTime,jdbcType=TIMESTAMP},
+      Longitude = #{longitude,jdbcType=VARCHAR},
+      Latitude = #{latitude,jdbcType=VARCHAR},
+      RecordStatus = #{recordStatus,jdbcType=INTEGER},
+      CreateUserID = #{createUserID,jdbcType=VARCHAR},
+      CreateTime = #{createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
+      Content = #{content,jdbcType=LONGVARCHAR}
+    where SigninId = #{signinId,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcSignin">
+    update pc_signin
+    set SiteID = #{siteID,jdbcType=VARCHAR},
+      SigninType = #{signinType,jdbcType=INTEGER},
+      CompanyID = #{companyID,jdbcType=VARCHAR},
+      JobuserID = #{jobuserID,jdbcType=VARCHAR},
+      SigninTime = #{signinTime,jdbcType=TIMESTAMP},
+      Longitude = #{longitude,jdbcType=VARCHAR},
+      Latitude = #{latitude,jdbcType=VARCHAR},
+      RecordStatus = #{recordStatus,jdbcType=INTEGER},
+      CreateUserID = #{createUserID,jdbcType=VARCHAR},
+      CreateTime = #{createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
+    where SigninId = #{signinId,jdbcType=VARCHAR}
+  </update>
+</mapper>