Browse Source

fix: PC基本信息bug修改

zhangying 1 year ago
parent
commit
f59995a0e6

+ 156 - 0
h5app/src/views/pages/recommendMgt/detail.vue

@@ -0,0 +1,156 @@
+<template>
+  <ion-page class="list-page">
+    <ion-header class="header-theme2">
+      <ion-toolbar>
+        <ion-buttons slot="start">
+          <ion-icon :icon="arrowBackOutline" @click="onBack"></ion-icon>
+        </ion-buttons>
+        <ion-title>推荐详情信息</ion-title>
+      </ion-toolbar>
+    </ion-header>
+    <ion-content>
+      <div class="bw-vue-form">
+        <div class="form-title">推荐详情</div>
+        <div class="form-detail">
+          <ion-label>求职人</ion-label>
+          <ion-text>{{ dataModel.name }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>求职岗位</ion-label>
+          <ion-text>{{ dataModel.qzProfessionName }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>招聘企业</ion-label>
+          <ion-text>{{ dataModel.companyName }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>招聘岗位</ion-label>
+          <ion-text>{{ dataModel.zpProfessionName }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>求职人联系电话</ion-label>
+          <ion-text>{{ dataModel.userMobile }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>企业联系人</ion-label>
+          <ion-text>{{ dataModel.companyUserName }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>企业联系电话</ion-label>
+          <ion-text>{{ dataModel.companyMobile }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>入职状态</ion-label>
+          <ion-text>{{ dataModel.entryStateName }}</ion-text>
+        </div>
+        <div class="form-detail">
+          <ion-label>推送时间</ion-label>
+          <ion-text>{{ dayjs(dataModel.createTime).format('YYYY-MM-DD') }}</ion-text>
+        </div>
+      </div>
+    </ion-content>
+    <ion-footer>
+      <ion-button shape="round" expand="block"
+                  @click="onSetEntryState(dataModel.recommendMgtID, dataModel.entryState!=1?'1':'0')">
+        {{ dataModel.entryState != 1 ? '已入职' : '已离职' }}
+      </ion-button>
+    </ion-footer>
+  </ion-page>
+</template>
+
+<script lang="ts">
+import {defineComponent, ref} from 'vue';
+import dayjs from "dayjs";
+import {useRoute, useRouter} from "vue-router";
+import {arrowBackOutline} from 'ionicons/icons';
+import {getListById, setEntryState} from '@/api/recommendmgt/index'
+
+interface RecommendModel {
+  companyMobile: string,
+  companyName: string,
+  companyUserName: string,
+  entryState: any,
+  entryStateName: string,
+  genderName: string,
+  jobHuntID: string,
+  jobPeopleIsRead: string,
+  jobPeopleIsReadName: string,
+  name: string,
+  officialAccountsID: string,
+  postID: string,
+  postIsRead: string,
+  postIsReadName: string,
+  pushName: string,
+  qzProfessionName: string,
+  recommendMgtID: string,
+  recommendType: any,
+  recommendTypeName: string,
+  userMobile: string,
+  zpProfessionName: string
+}
+
+export default defineComponent({
+  name: "RecommendDetail",
+  setup() {
+    const loading = ref(true);
+    const dataModel = ref<RecommendModel>({
+      companyMobile: "",
+      companyName: "",
+      companyUserName: "",
+      entryState: null,
+      entryStateName: "",
+      genderName: "",
+      jobHuntID: "",
+      jobPeopleIsRead: "",
+      jobPeopleIsReadName: "",
+      name: "",
+      officialAccountsID: "",
+      postID: "",
+      postIsRead: "",
+      postIsReadName: "",
+      pushName: "",
+      qzProfessionName: "",
+      recommendMgtID: "",
+      recommendType: null,
+      recommendTypeName: "",
+      userMobile: "",
+      zpProfessionName: ""
+    });
+    const router = useRouter();
+    const route = useRoute();
+    const loadData = async function (id: any) {
+      loading.value = true;
+      getListById(id).then((data) => {
+        debugger;
+        dataModel.value = data;
+      })
+      loading.value = false;
+    }
+
+    const onSetEntryState = async (recommendMgtID: any, entryState: any) => {
+      setEntryState({recommendMgtID: recommendMgtID, entryState: entryState}).then(() => {
+        loadData(route.query.recommendMgtID);
+      });
+    }
+
+    const onBack = () => {
+      router.push({path: './list', query: {reload: 1}});
+    }
+
+    return {
+      dataModel,
+      arrowBackOutline,
+      dayjs,
+      route,
+      loadData,
+      onSetEntryState,
+      onBack
+    }
+  }, created() {
+    this.loadData(this.route.query.recommendMgtID);
+  }
+});
+</script>
+<style lang="less">
+
+</style>

+ 169 - 0
h5app/src/views/pages/recommendMgt/list.vue

@@ -0,0 +1,169 @@
+<template>
+  <ion-page class="list-page company-list-page">
+    <ion-header class="header-theme2">
+      <ion-toolbar>
+        <ion-buttons slot="start">
+          <ion-icon :icon="arrowBackOutline" @click="onBack"></ion-icon>
+        </ion-buttons>
+        <ion-title>推荐信息管理</ion-title>
+      </ion-toolbar>
+    </ion-header>
+    <ion-content>
+      <ion-item class="search-item">
+        <ion-input placeholder="姓名" class="custom"
+                   v-model="searchParams.name"
+                   style="border: 1px solid #f2f2f5;border-radius: 14px;--padding-start: 10px;height: 35px;"></ion-input>
+        <ion-button slot="end"
+                    style="height: 33px;width: 70px;margin-left: 10px;--box-shadow: none;--border-radius: 14px;"
+                    @click="reload">搜索
+        </ion-button>
+      </ion-item>
+      <ion-list class="list-content">
+        <ion-item v-for="(record,key) in dataList" :key="key" detail @click="onDetail(record.recommendMgtID)">
+          <ion-label>
+            <h2>{{ record.name }}</h2>
+            <ion-label style="display: flex;justify-content: space-between;">
+              <p>求职岗位:{{ record.professionName }}</p>
+              <p>{{ record.entryStateName }}</p>
+            </ion-label>
+            <p>招聘企业:{{ record.companyName }}</p>
+            <ion-label style="display: flex;justify-content: space-between;">
+              <p>联系电话:{{ record.userMobile }}</p>
+              <p>企业电话:{{ record.companyMobile }}</p>
+            </ion-label>
+            <p>
+              推送时间:{{ dayjs(record.createTime).format('YYYY-MM-DD') }}
+            </p>
+          </ion-label>
+        </ion-item>
+      </ion-list>
+      <b-empty v-if="dataList.length<=0" :loading="loading"/>
+      <ion-infinite-scroll threshold="100px" @ionInfinite="onScroll($event)">
+        <ion-infinite-scroll-content
+            :loadingText="pagination.total>pagination.current*pagination.pageSize?'正在加载...':'暂无更多'"
+            loadingSpinner="bubbles">
+        </ion-infinite-scroll-content>
+      </ion-infinite-scroll>
+    </ion-content>
+  </ion-page>
+</template>
+
+<script lang="ts">
+
+import {computed, defineComponent, reactive, ref} from 'vue';
+import dayjs from "dayjs";
+import {useRoute, useRouter} from "vue-router";
+import {arrowBackOutline} from 'ionicons/icons';
+import {IonIcon, onIonViewDidEnter} from '@ionic/vue';
+import BEmpty from "@/components/empty.vue";
+import {getList, setEntryState} from '@/api/recommendmgt/index'
+
+export default defineComponent({
+  name: 'recommendMgtList',
+  components: {IonIcon, BEmpty},
+  setup() {
+    const router = useRouter();
+    const route = useRoute();
+    const total = ref(10);
+    const loading = ref(true);
+    const pagination = computed(() => ({
+      total: total,
+      current: searchParams.pageIndex,
+      pageSize: searchParams.pageSize
+    }));
+    const searchParams = reactive({
+      pageIndex: 1,
+      pageSize: 5,
+      name: '',
+    });
+    const dataList = ref<any>([]);
+
+    const loadData = async function () {
+      loading.value = true;
+      getList(searchParams).then(data => {
+        dataList.value = dataList.value.concat(data.list);
+        total.value = data.total;
+      })
+      loading.value = false;
+    }
+
+    const reload = () => {
+      dataList.value = [];
+      searchParams.pageIndex = 1;
+      loadData();
+    }
+
+    const onScroll = (e: any) => {
+      setTimeout(() => {
+        e.target.complete();
+        if (pagination.value.total.value > pagination.value.current * pagination.value.pageSize) {
+          searchParams.pageIndex += 1;
+          loadData();
+        }
+      }, 500);
+    }
+
+    const onDetail = (recommendMgtID: any) => {
+      router.push({path: './detail', query: {reload: 1, id: recommendMgtID,status: 1}});
+    }
+
+    const onBack = () => {
+      router.push('../');
+    }
+
+    onIonViewDidEnter(() => {
+      if (route.query.reload) reload();
+    });
+
+    return {
+      arrowBackOutline,
+      router,
+      total,
+      loading,
+      dataList,
+      pagination,
+      searchParams,
+      onBack,
+      onDetail,
+      onScroll,
+      loadData,
+      reload,
+      dayjs,
+    }
+  }, created() {
+    this.loadData();
+  }
+});
+</script>
+
+<style lang="less">
+.custom {
+  --placeholder-color: gray;
+  //--placeholder-font-style: italic;
+  --placeholder-opacity: 1;
+}
+
+.company-list-page {
+  .list-content {
+    margin: 0px 15px !important;
+    background-color: white !important;
+    border-radius: 0 !important;
+
+    ion-item {
+      margin-top: 10px;
+      font-size: 14px;
+      border: 1px solid rgb(242, 242, 245);
+
+      p {
+        font-size: 12px;
+      }
+    }
+  }
+}
+
+.container {
+  display: flex;
+  justify-content: center; /* 水平居中 */
+  align-items: center; /* 垂直居中 */
+}
+</style>

+ 31 - 0
src/main/java/com/hz/employmentsite/mapper/WxMessagetempsettingFieldMapper.java

@@ -0,0 +1,31 @@
+package com.hz.employmentsite.mapper;
+
+import com.hz.employmentsite.model.WxMessagetempsettingField;
+import com.hz.employmentsite.model.WxMessagetempsettingFieldExample;
+import com.hz.employmentsite.model.WxMessagetempsettingFieldKey;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface WxMessagetempsettingFieldMapper {
+    long countByExample(WxMessagetempsettingFieldExample example);
+
+    int deleteByExample(WxMessagetempsettingFieldExample example);
+
+    int deleteByPrimaryKey(WxMessagetempsettingFieldKey key);
+
+    int insert(WxMessagetempsettingField row);
+
+    int insertSelective(WxMessagetempsettingField row);
+
+    List<WxMessagetempsettingField> selectByExample(WxMessagetempsettingFieldExample example);
+
+    WxMessagetempsettingField selectByPrimaryKey(WxMessagetempsettingFieldKey key);
+
+    int updateByExampleSelective(@Param("row") WxMessagetempsettingField row, @Param("example") WxMessagetempsettingFieldExample example);
+
+    int updateByExample(@Param("row") WxMessagetempsettingField row, @Param("example") WxMessagetempsettingFieldExample example);
+
+    int updateByPrimaryKeySelective(WxMessagetempsettingField row);
+
+    int updateByPrimaryKey(WxMessagetempsettingField row);
+}

+ 30 - 0
src/main/java/com/hz/employmentsite/mapper/WxMessagetempsettingMapper.java

@@ -0,0 +1,30 @@
+package com.hz.employmentsite.mapper;
+
+import com.hz.employmentsite.model.WxMessagetempsetting;
+import com.hz.employmentsite.model.WxMessagetempsettingExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface WxMessagetempsettingMapper {
+    long countByExample(WxMessagetempsettingExample example);
+
+    int deleteByExample(WxMessagetempsettingExample example);
+
+    int deleteByPrimaryKey(String templateNo);
+
+    int insert(WxMessagetempsetting row);
+
+    int insertSelective(WxMessagetempsetting row);
+
+    List<WxMessagetempsetting> selectByExample(WxMessagetempsettingExample example);
+
+    WxMessagetempsetting selectByPrimaryKey(String templateNo);
+
+    int updateByExampleSelective(@Param("row") WxMessagetempsetting row, @Param("example") WxMessagetempsettingExample example);
+
+    int updateByExample(@Param("row") WxMessagetempsetting row, @Param("example") WxMessagetempsettingExample example);
+
+    int updateByPrimaryKeySelective(WxMessagetempsetting row);
+
+    int updateByPrimaryKey(WxMessagetempsetting row);
+}

+ 43 - 0
src/main/java/com/hz/employmentsite/model/WxMessagetempsetting.java

@@ -0,0 +1,43 @@
+package com.hz.employmentsite.model;
+
+public class WxMessagetempsetting {
+    private String templateNo;
+
+    private String templateName;
+
+    private String templateId;
+
+    private String url;
+
+    public String getTemplateNo() {
+        return templateNo;
+    }
+
+    public void setTemplateNo(String templateNo) {
+        this.templateNo = templateNo == null ? null : templateNo.trim();
+    }
+
+    public String getTemplateName() {
+        return templateName;
+    }
+
+    public void setTemplateName(String templateName) {
+        this.templateName = templateName == null ? null : templateName.trim();
+    }
+
+    public String getTemplateId() {
+        return templateId;
+    }
+
+    public void setTemplateId(String templateId) {
+        this.templateId = templateId == null ? null : templateId.trim();
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url == null ? null : url.trim();
+    }
+}

+ 479 - 0
src/main/java/com/hz/employmentsite/model/WxMessagetempsettingExample.java

@@ -0,0 +1,479 @@
+package com.hz.employmentsite.model;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class WxMessagetempsettingExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public WxMessagetempsettingExample() {
+        oredCriteria = new ArrayList<>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andTemplateNoIsNull() {
+            addCriterion("templateNo is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoIsNotNull() {
+            addCriterion("templateNo is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoEqualTo(String value) {
+            addCriterion("templateNo =", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotEqualTo(String value) {
+            addCriterion("templateNo <>", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoGreaterThan(String value) {
+            addCriterion("templateNo >", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoGreaterThanOrEqualTo(String value) {
+            addCriterion("templateNo >=", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLessThan(String value) {
+            addCriterion("templateNo <", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLessThanOrEqualTo(String value) {
+            addCriterion("templateNo <=", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLike(String value) {
+            addCriterion("templateNo like", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotLike(String value) {
+            addCriterion("templateNo not like", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoIn(List<String> values) {
+            addCriterion("templateNo in", values, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotIn(List<String> values) {
+            addCriterion("templateNo not in", values, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoBetween(String value1, String value2) {
+            addCriterion("templateNo between", value1, value2, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotBetween(String value1, String value2) {
+            addCriterion("templateNo not between", value1, value2, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameIsNull() {
+            addCriterion("templateName is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameIsNotNull() {
+            addCriterion("templateName is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameEqualTo(String value) {
+            addCriterion("templateName =", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameNotEqualTo(String value) {
+            addCriterion("templateName <>", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameGreaterThan(String value) {
+            addCriterion("templateName >", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameGreaterThanOrEqualTo(String value) {
+            addCriterion("templateName >=", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameLessThan(String value) {
+            addCriterion("templateName <", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameLessThanOrEqualTo(String value) {
+            addCriterion("templateName <=", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameLike(String value) {
+            addCriterion("templateName like", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameNotLike(String value) {
+            addCriterion("templateName not like", value, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameIn(List<String> values) {
+            addCriterion("templateName in", values, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameNotIn(List<String> values) {
+            addCriterion("templateName not in", values, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameBetween(String value1, String value2) {
+            addCriterion("templateName between", value1, value2, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNameNotBetween(String value1, String value2) {
+            addCriterion("templateName not between", value1, value2, "templateName");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdIsNull() {
+            addCriterion("templateId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdIsNotNull() {
+            addCriterion("templateId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdEqualTo(String value) {
+            addCriterion("templateId =", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdNotEqualTo(String value) {
+            addCriterion("templateId <>", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdGreaterThan(String value) {
+            addCriterion("templateId >", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdGreaterThanOrEqualTo(String value) {
+            addCriterion("templateId >=", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdLessThan(String value) {
+            addCriterion("templateId <", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdLessThanOrEqualTo(String value) {
+            addCriterion("templateId <=", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdLike(String value) {
+            addCriterion("templateId like", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdNotLike(String value) {
+            addCriterion("templateId not like", value, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdIn(List<String> values) {
+            addCriterion("templateId in", values, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdNotIn(List<String> values) {
+            addCriterion("templateId not in", values, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdBetween(String value1, String value2) {
+            addCriterion("templateId between", value1, value2, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateIdNotBetween(String value1, String value2) {
+            addCriterion("templateId not between", value1, value2, "templateId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlIsNull() {
+            addCriterion("url is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlIsNotNull() {
+            addCriterion("url is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlEqualTo(String value) {
+            addCriterion("url =", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlNotEqualTo(String value) {
+            addCriterion("url <>", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlGreaterThan(String value) {
+            addCriterion("url >", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlGreaterThanOrEqualTo(String value) {
+            addCriterion("url >=", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlLessThan(String value) {
+            addCriterion("url <", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlLessThanOrEqualTo(String value) {
+            addCriterion("url <=", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlLike(String value) {
+            addCriterion("url like", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlNotLike(String value) {
+            addCriterion("url not like", value, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlIn(List<String> values) {
+            addCriterion("url in", values, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlNotIn(List<String> values) {
+            addCriterion("url not in", values, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlBetween(String value1, String value2) {
+            addCriterion("url between", value1, value2, "url");
+            return (Criteria) this;
+        }
+
+        public Criteria andUrlNotBetween(String value1, String value2) {
+            addCriterion("url not between", value1, value2, "url");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 13 - 0
src/main/java/com/hz/employmentsite/model/WxMessagetempsettingField.java

@@ -0,0 +1,13 @@
+package com.hz.employmentsite.model;
+
+public class WxMessagetempsettingField extends WxMessagetempsettingFieldKey {
+    private String sysFieldName;
+
+    public String getSysFieldName() {
+        return sysFieldName;
+    }
+
+    public void setSysFieldName(String sysFieldName) {
+        this.sysFieldName = sysFieldName == null ? null : sysFieldName.trim();
+    }
+}

+ 409 - 0
src/main/java/com/hz/employmentsite/model/WxMessagetempsettingFieldExample.java

@@ -0,0 +1,409 @@
+package com.hz.employmentsite.model;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class WxMessagetempsettingFieldExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public WxMessagetempsettingFieldExample() {
+        oredCriteria = new ArrayList<>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andTemplateNoIsNull() {
+            addCriterion("templateNo is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoIsNotNull() {
+            addCriterion("templateNo is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoEqualTo(String value) {
+            addCriterion("templateNo =", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotEqualTo(String value) {
+            addCriterion("templateNo <>", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoGreaterThan(String value) {
+            addCriterion("templateNo >", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoGreaterThanOrEqualTo(String value) {
+            addCriterion("templateNo >=", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLessThan(String value) {
+            addCriterion("templateNo <", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLessThanOrEqualTo(String value) {
+            addCriterion("templateNo <=", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoLike(String value) {
+            addCriterion("templateNo like", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotLike(String value) {
+            addCriterion("templateNo not like", value, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoIn(List<String> values) {
+            addCriterion("templateNo in", values, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotIn(List<String> values) {
+            addCriterion("templateNo not in", values, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoBetween(String value1, String value2) {
+            addCriterion("templateNo between", value1, value2, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andTemplateNoNotBetween(String value1, String value2) {
+            addCriterion("templateNo not between", value1, value2, "templateNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameIsNull() {
+            addCriterion("wxFieldName is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameIsNotNull() {
+            addCriterion("wxFieldName is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameEqualTo(String value) {
+            addCriterion("wxFieldName =", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameNotEqualTo(String value) {
+            addCriterion("wxFieldName <>", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameGreaterThan(String value) {
+            addCriterion("wxFieldName >", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameGreaterThanOrEqualTo(String value) {
+            addCriterion("wxFieldName >=", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameLessThan(String value) {
+            addCriterion("wxFieldName <", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameLessThanOrEqualTo(String value) {
+            addCriterion("wxFieldName <=", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameLike(String value) {
+            addCriterion("wxFieldName like", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameNotLike(String value) {
+            addCriterion("wxFieldName not like", value, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameIn(List<String> values) {
+            addCriterion("wxFieldName in", values, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameNotIn(List<String> values) {
+            addCriterion("wxFieldName not in", values, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameBetween(String value1, String value2) {
+            addCriterion("wxFieldName between", value1, value2, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFieldNameNotBetween(String value1, String value2) {
+            addCriterion("wxFieldName not between", value1, value2, "wxFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameIsNull() {
+            addCriterion("sysFieldName is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameIsNotNull() {
+            addCriterion("sysFieldName is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameEqualTo(String value) {
+            addCriterion("sysFieldName =", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameNotEqualTo(String value) {
+            addCriterion("sysFieldName <>", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameGreaterThan(String value) {
+            addCriterion("sysFieldName >", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameGreaterThanOrEqualTo(String value) {
+            addCriterion("sysFieldName >=", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameLessThan(String value) {
+            addCriterion("sysFieldName <", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameLessThanOrEqualTo(String value) {
+            addCriterion("sysFieldName <=", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameLike(String value) {
+            addCriterion("sysFieldName like", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameNotLike(String value) {
+            addCriterion("sysFieldName not like", value, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameIn(List<String> values) {
+            addCriterion("sysFieldName in", values, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameNotIn(List<String> values) {
+            addCriterion("sysFieldName not in", values, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameBetween(String value1, String value2) {
+            addCriterion("sysFieldName between", value1, value2, "sysFieldName");
+            return (Criteria) this;
+        }
+
+        public Criteria andSysFieldNameNotBetween(String value1, String value2) {
+            addCriterion("sysFieldName not between", value1, value2, "sysFieldName");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 23 - 0
src/main/java/com/hz/employmentsite/model/WxMessagetempsettingFieldKey.java

@@ -0,0 +1,23 @@
+package com.hz.employmentsite.model;
+
+public class WxMessagetempsettingFieldKey {
+    private String templateNo;
+
+    private String wxFieldName;
+
+    public String getTemplateNo() {
+        return templateNo;
+    }
+
+    public void setTemplateNo(String templateNo) {
+        this.templateNo = templateNo == null ? null : templateNo.trim();
+    }
+
+    public String getWxFieldName() {
+        return wxFieldName;
+    }
+
+    public void setWxFieldName(String wxFieldName) {
+        this.wxFieldName = wxFieldName == null ? null : wxFieldName.trim();
+    }
+}

+ 181 - 0
src/main/resources/mapping/WxMessagetempsettingFieldMapper.xml

@@ -0,0 +1,181 @@
+<?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.WxMessagetempsettingFieldMapper">
+  <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.WxMessagetempsettingField">
+    <id column="templateNo" jdbcType="VARCHAR" property="templateNo" />
+    <id column="wxFieldName" jdbcType="VARCHAR" property="wxFieldName" />
+    <result column="sysFieldName" jdbcType="VARCHAR" property="sysFieldName" />
+  </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">
+    templateNo, wxFieldName, sysFieldName
+  </sql>
+  <select id="selectByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingFieldExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from wx_messagetempsetting_field
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="com.hz.employmentsite.model.WxMessagetempsettingFieldKey" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from wx_messagetempsetting_field
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+      and wxFieldName = #{wxFieldName,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="com.hz.employmentsite.model.WxMessagetempsettingFieldKey">
+    delete from wx_messagetempsetting_field
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+      and wxFieldName = #{wxFieldName,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingFieldExample">
+    delete from wx_messagetempsetting_field
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.hz.employmentsite.model.WxMessagetempsettingField">
+    insert into wx_messagetempsetting_field (templateNo, wxFieldName, sysFieldName
+      )
+    values (#{templateNo,jdbcType=VARCHAR}, #{wxFieldName,jdbcType=VARCHAR}, #{sysFieldName,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.hz.employmentsite.model.WxMessagetempsettingField">
+    insert into wx_messagetempsetting_field
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="templateNo != null">
+        templateNo,
+      </if>
+      <if test="wxFieldName != null">
+        wxFieldName,
+      </if>
+      <if test="sysFieldName != null">
+        sysFieldName,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="templateNo != null">
+        #{templateNo,jdbcType=VARCHAR},
+      </if>
+      <if test="wxFieldName != null">
+        #{wxFieldName,jdbcType=VARCHAR},
+      </if>
+      <if test="sysFieldName != null">
+        #{sysFieldName,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingFieldExample" resultType="java.lang.Long">
+    select count(*) from wx_messagetempsetting_field
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update wx_messagetempsetting_field
+    <set>
+      <if test="row.templateNo != null">
+        templateNo = #{row.templateNo,jdbcType=VARCHAR},
+      </if>
+      <if test="row.wxFieldName != null">
+        wxFieldName = #{row.wxFieldName,jdbcType=VARCHAR},
+      </if>
+      <if test="row.sysFieldName != null">
+        sysFieldName = #{row.sysFieldName,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update wx_messagetempsetting_field
+    set templateNo = #{row.templateNo,jdbcType=VARCHAR},
+      wxFieldName = #{row.wxFieldName,jdbcType=VARCHAR},
+      sysFieldName = #{row.sysFieldName,jdbcType=VARCHAR}
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.WxMessagetempsettingField">
+    update wx_messagetempsetting_field
+    <set>
+      <if test="sysFieldName != null">
+        sysFieldName = #{sysFieldName,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+      and wxFieldName = #{wxFieldName,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.WxMessagetempsettingField">
+    update wx_messagetempsetting_field
+    set sysFieldName = #{sysFieldName,jdbcType=VARCHAR}
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+      and wxFieldName = #{wxFieldName,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 196 - 0
src/main/resources/mapping/WxMessagetempsettingMapper.xml

@@ -0,0 +1,196 @@
+<?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.WxMessagetempsettingMapper">
+  <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.WxMessagetempsetting">
+    <id column="templateNo" jdbcType="VARCHAR" property="templateNo" />
+    <result column="templateName" jdbcType="VARCHAR" property="templateName" />
+    <result column="templateId" jdbcType="VARCHAR" property="templateId" />
+    <result column="url" jdbcType="VARCHAR" property="url" />
+  </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">
+    templateNo, templateName, templateId, url
+  </sql>
+  <select id="selectByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from wx_messagetempsetting
+    <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="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from wx_messagetempsetting
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from wx_messagetempsetting
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingExample">
+    delete from wx_messagetempsetting
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.hz.employmentsite.model.WxMessagetempsetting">
+    insert into wx_messagetempsetting (templateNo, templateName, templateId, 
+      url)
+    values (#{templateNo,jdbcType=VARCHAR}, #{templateName,jdbcType=VARCHAR}, #{templateId,jdbcType=VARCHAR}, 
+      #{url,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.hz.employmentsite.model.WxMessagetempsetting">
+    insert into wx_messagetempsetting
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="templateNo != null">
+        templateNo,
+      </if>
+      <if test="templateName != null">
+        templateName,
+      </if>
+      <if test="templateId != null">
+        templateId,
+      </if>
+      <if test="url != null">
+        url,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="templateNo != null">
+        #{templateNo,jdbcType=VARCHAR},
+      </if>
+      <if test="templateName != null">
+        #{templateName,jdbcType=VARCHAR},
+      </if>
+      <if test="templateId != null">
+        #{templateId,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        #{url,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.hz.employmentsite.model.WxMessagetempsettingExample" resultType="java.lang.Long">
+    select count(*) from wx_messagetempsetting
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update wx_messagetempsetting
+    <set>
+      <if test="row.templateNo != null">
+        templateNo = #{row.templateNo,jdbcType=VARCHAR},
+      </if>
+      <if test="row.templateName != null">
+        templateName = #{row.templateName,jdbcType=VARCHAR},
+      </if>
+      <if test="row.templateId != null">
+        templateId = #{row.templateId,jdbcType=VARCHAR},
+      </if>
+      <if test="row.url != null">
+        url = #{row.url,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update wx_messagetempsetting
+    set templateNo = #{row.templateNo,jdbcType=VARCHAR},
+      templateName = #{row.templateName,jdbcType=VARCHAR},
+      templateId = #{row.templateId,jdbcType=VARCHAR},
+      url = #{row.url,jdbcType=VARCHAR}
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.WxMessagetempsetting">
+    update wx_messagetempsetting
+    <set>
+      <if test="templateName != null">
+        templateName = #{templateName,jdbcType=VARCHAR},
+      </if>
+      <if test="templateId != null">
+        templateId = #{templateId,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        url = #{url,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.WxMessagetempsetting">
+    update wx_messagetempsetting
+    set templateName = #{templateName,jdbcType=VARCHAR},
+      templateId = #{templateId,jdbcType=VARCHAR},
+      url = #{url,jdbcType=VARCHAR}
+    where templateNo = #{templateNo,jdbcType=VARCHAR}
+  </update>
+</mapper>