Преглед на файлове

添加/health/warehouse接口

shilin преди 3 години
родител
ревизия
bc15909360
променени са 19 файла, в които са добавени 10153 реда и са изтрити 33 реда
  1. 109 0
      web/health-hb/src/main/java/com/gyee/frame/controller/reliability/EquoperationrecordController.java
  2. 97 0
      web/health-hb/src/main/java/com/gyee/frame/mapper/auto/CompaniesMapper.java
  3. 104 0
      web/health-hb/src/main/java/com/gyee/frame/mapper/auto/EquoperationrecordMapper.java
  4. 97 0
      web/health-hb/src/main/java/com/gyee/frame/mapper/auto/WarehouseMapper.java
  5. 1302 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/Companies.java
  6. 3014 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/CompaniesExample.java
  7. 642 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/Equoperationrecord.java
  8. 1604 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/EquoperationrecordExample.java
  9. 311 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/Warehouse.java
  10. 923 0
      web/health-hb/src/main/java/com/gyee/frame/model/auto/WarehouseExample.java
  11. 104 0
      web/health-hb/src/main/java/com/gyee/frame/service/CompaniesSqlService.java
  12. 37 0
      web/health-hb/src/main/java/com/gyee/frame/service/EquoperationrecordService.java
  13. 104 0
      web/health-hb/src/main/java/com/gyee/frame/service/WarehouseSqlService.java
  14. 10 10
      web/health-hb/src/main/resources/application-dev.yml
  15. 11 10
      web/health-hb/src/main/resources/application.yml
  16. 13 13
      web/health-hb/src/main/resources/mybatis-generator.xml
  17. 809 0
      web/health-hb/src/main/resources/mybatis/auto/CompaniesMapper.xml
  18. 526 0
      web/health-hb/src/main/resources/mybatis/auto/EquoperationrecordMapper.xml
  19. 336 0
      web/health-hb/src/main/resources/mybatis/auto/WarehouseMapper.xml

+ 109 - 0
web/health-hb/src/main/java/com/gyee/frame/controller/reliability/EquoperationrecordController.java

@@ -0,0 +1,109 @@
+package com.gyee.frame.controller.reliability;
+
+
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.conf.AjaxStatus;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.model.auto.Companies;
+import com.gyee.frame.model.auto.Equoperationrecord;
+import com.gyee.frame.model.auto.Warehouse;
+import com.gyee.frame.model.auto.WindturbineSql;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.service.CompaniesSqlService;
+import com.gyee.frame.service.EquoperationrecordService;
+import com.gyee.frame.service.WarehouseSqlService;
+import com.gyee.frame.service.WindturbineSqlService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.util.ArrayList;
+import java.util.List;
+
+
+@RestController
+@RequestMapping("/ticket")
+public class EquoperationrecordController {
+
+    @Resource
+    private EquoperationrecordService equoperationrecordService;
+
+    @Resource
+    private WindturbineSqlService windturbineSqlService;
+
+    @Resource
+    private CompaniesSqlService companiesSqlService;
+
+
+    @Resource
+    private WarehouseSqlService warehouseSqlService;
+    /**
+     * 预警评判分析
+
+     * @return
+     */
+    @PostMapping("/equoperationrecordList")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public AjaxResult equoperationrecord(
+            @RequestBody Tablepar tablepar,
+            @RequestParam(value = "starttime", required = false) String startTime,
+            @RequestParam(value = "endtime", required = false) String endTime,
+            @RequestParam(value = "wtid",required = false)String wtid,
+            @RequestParam(value = "type",required = false)String type)  {
+
+        PageInfo<Equoperationrecord> vos=new PageInfo<>();
+
+        vos = equoperationrecordService.equoperationrecordList(tablepar, startTime, endTime, wtid, type);
+
+        if (null!=vos) {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        }
+    }
+
+    @GetMapping("/windturbine")
+    @ResponseBody
+    public AjaxResult windturbine(@RequestParam(value = "wtnum")String wtnum)  {
+
+        WindturbineSql vos=new WindturbineSql();
+
+        vos = windturbineSqlService.findWindturbineById(wtnum);
+
+        if (null!=vos) {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        }
+    }
+
+    @GetMapping("/companies")
+    @ResponseBody
+    public AjaxResult companies()  {
+
+        List<Companies> vos=new ArrayList<>();
+
+        vos = companiesSqlService.findCompanies();
+
+        if (null!=vos) {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        }
+    }
+
+    @GetMapping("/warehouse")
+    @ResponseBody
+    public AjaxResult warehouse()  {
+
+        List<Warehouse> vos=new ArrayList<>();
+
+        vos = warehouseSqlService.findWarehouse();
+
+        if (null!=vos) {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        }
+    }
+}

+ 97 - 0
web/health-hb/src/main/java/com/gyee/frame/mapper/auto/CompaniesMapper.java

@@ -0,0 +1,97 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Companies;
+import com.gyee.frame.model.auto.CompaniesExample;
+import java.math.BigDecimal;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface CompaniesMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    long countByExample(CompaniesExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(CompaniesExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int insert(Companies record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int insertSelective(Companies record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    List<Companies> selectByExample(CompaniesExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    Companies selectByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") Companies record, @Param("example") CompaniesExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") Companies record, @Param("example") CompaniesExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(Companies record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table COMPANIES
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(Companies record);
+}

+ 104 - 0
web/health-hb/src/main/java/com/gyee/frame/mapper/auto/EquoperationrecordMapper.java

@@ -0,0 +1,104 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Equoperationrecord;
+import com.gyee.frame.model.auto.EquoperationrecordExample;
+import org.apache.ibatis.annotations.Param;
+
+import java.math.BigDecimal;
+import java.util.List;
+
+public interface EquoperationrecordMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    long countByExample(EquoperationrecordExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(EquoperationrecordExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int insert(Equoperationrecord record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int insertSelective(Equoperationrecord record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    List<Equoperationrecord> selectByExample(EquoperationrecordExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    Equoperationrecord selectByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") Equoperationrecord record, @Param("example") EquoperationrecordExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") Equoperationrecord record, @Param("example") EquoperationrecordExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(Equoperationrecord record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(Equoperationrecord record);
+
+    List<Equoperationrecord> selectEquoperationrecordPageList(@Param("startTime")String startTime,
+                                                              @Param("endTime")String endTime,
+                                                              @Param("wtid")String wtid,
+                                                              @Param("type")String type);
+
+}

+ 97 - 0
web/health-hb/src/main/java/com/gyee/frame/mapper/auto/WarehouseMapper.java

@@ -0,0 +1,97 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Warehouse;
+import com.gyee.frame.model.auto.WarehouseExample;
+import java.math.BigDecimal;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface WarehouseMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    long countByExample(WarehouseExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(WarehouseExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int insert(Warehouse record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int insertSelective(Warehouse record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    List<Warehouse> selectByExample(WarehouseExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    Warehouse selectByPrimaryKey(BigDecimal id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") Warehouse record, @Param("example") WarehouseExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") Warehouse record, @Param("example") WarehouseExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(Warehouse record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(Warehouse record);
+}

Файловите разлики са ограничени, защото са твърде много
+ 1302 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/Companies.java


Файловите разлики са ограничени, защото са твърде много
+ 3014 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/CompaniesExample.java


+ 642 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/Equoperationrecord.java

@@ -0,0 +1,642 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class Equoperationrecord implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.ID
+     *
+     * @mbg.generated
+     */
+    private BigDecimal id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.TYPE
+     *
+     * @mbg.generated
+     */
+    private String type;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.FROMLOC
+     *
+     * @mbg.generated
+     */
+    private String fromloc;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.TOLOC
+     *
+     * @mbg.generated
+     */
+    private String toloc;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.LEADER
+     *
+     * @mbg.generated
+     */
+    private String leader;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.OPERATIONLOG
+     *
+     * @mbg.generated
+     */
+    private String operationlog;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.STARTTIME
+     *
+     * @mbg.generated
+     */
+    private Date starttime;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.ENDTIME
+     *
+     * @mbg.generated
+     */
+    private Date endtime;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.WONUM
+     *
+     * @mbg.generated
+     */
+    private String wonum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.FROMLOCDES
+     *
+     * @mbg.generated
+     */
+    private String fromlocdes;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.TOLOCDES
+     *
+     * @mbg.generated
+     */
+    private String tolocdes;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.TYPECODE
+     *
+     * @mbg.generated
+     */
+    private String typecode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.WTNUM
+     *
+     * @mbg.generated
+     */
+    private String wtnum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.EQNUM
+     *
+     * @mbg.generated
+     */
+    private String eqnum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.PROBLEM
+     *
+     * @mbg.generated
+     */
+    private String problem;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.SOLVEWAY
+     *
+     * @mbg.generated
+     */
+    private String solveway;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.RESERVE1
+     *
+     * @mbg.generated
+     */
+    private String reserve1;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.RESERVE2
+     *
+     * @mbg.generated
+     */
+    private String reserve2;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column EQUOPERATIONRECORD.RESERVE3
+     *
+     * @mbg.generated
+     */
+    private String reserve3;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table EQUOPERATIONRECORD
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.ID
+     *
+     * @return the value of EQUOPERATIONRECORD.ID
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.ID
+     *
+     * @param id the value for EQUOPERATIONRECORD.ID
+     *
+     * @mbg.generated
+     */
+    public void setId(BigDecimal id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.TYPE
+     *
+     * @return the value of EQUOPERATIONRECORD.TYPE
+     *
+     * @mbg.generated
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.TYPE
+     *
+     * @param type the value for EQUOPERATIONRECORD.TYPE
+     *
+     * @mbg.generated
+     */
+    public void setType(String type) {
+        this.type = type == null ? null : type.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.FROMLOC
+     *
+     * @return the value of EQUOPERATIONRECORD.FROMLOC
+     *
+     * @mbg.generated
+     */
+    public String getFromloc() {
+        return fromloc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.FROMLOC
+     *
+     * @param fromloc the value for EQUOPERATIONRECORD.FROMLOC
+     *
+     * @mbg.generated
+     */
+    public void setFromloc(String fromloc) {
+        this.fromloc = fromloc == null ? null : fromloc.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.TOLOC
+     *
+     * @return the value of EQUOPERATIONRECORD.TOLOC
+     *
+     * @mbg.generated
+     */
+    public String getToloc() {
+        return toloc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.TOLOC
+     *
+     * @param toloc the value for EQUOPERATIONRECORD.TOLOC
+     *
+     * @mbg.generated
+     */
+    public void setToloc(String toloc) {
+        this.toloc = toloc == null ? null : toloc.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.LEADER
+     *
+     * @return the value of EQUOPERATIONRECORD.LEADER
+     *
+     * @mbg.generated
+     */
+    public String getLeader() {
+        return leader;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.LEADER
+     *
+     * @param leader the value for EQUOPERATIONRECORD.LEADER
+     *
+     * @mbg.generated
+     */
+    public void setLeader(String leader) {
+        this.leader = leader == null ? null : leader.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.OPERATIONLOG
+     *
+     * @return the value of EQUOPERATIONRECORD.OPERATIONLOG
+     *
+     * @mbg.generated
+     */
+    public String getOperationlog() {
+        return operationlog;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.OPERATIONLOG
+     *
+     * @param operationlog the value for EQUOPERATIONRECORD.OPERATIONLOG
+     *
+     * @mbg.generated
+     */
+    public void setOperationlog(String operationlog) {
+        this.operationlog = operationlog == null ? null : operationlog.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.STARTTIME
+     *
+     * @return the value of EQUOPERATIONRECORD.STARTTIME
+     *
+     * @mbg.generated
+     */
+    public Date getStarttime() {
+        return starttime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.STARTTIME
+     *
+     * @param starttime the value for EQUOPERATIONRECORD.STARTTIME
+     *
+     * @mbg.generated
+     */
+    public void setStarttime(Date starttime) {
+        this.starttime = starttime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.ENDTIME
+     *
+     * @return the value of EQUOPERATIONRECORD.ENDTIME
+     *
+     * @mbg.generated
+     */
+    public Date getEndtime() {
+        return endtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.ENDTIME
+     *
+     * @param endtime the value for EQUOPERATIONRECORD.ENDTIME
+     *
+     * @mbg.generated
+     */
+    public void setEndtime(Date endtime) {
+        this.endtime = endtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.WONUM
+     *
+     * @return the value of EQUOPERATIONRECORD.WONUM
+     *
+     * @mbg.generated
+     */
+    public String getWonum() {
+        return wonum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.WONUM
+     *
+     * @param wonum the value for EQUOPERATIONRECORD.WONUM
+     *
+     * @mbg.generated
+     */
+    public void setWonum(String wonum) {
+        this.wonum = wonum == null ? null : wonum.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.FROMLOCDES
+     *
+     * @return the value of EQUOPERATIONRECORD.FROMLOCDES
+     *
+     * @mbg.generated
+     */
+    public String getFromlocdes() {
+        return fromlocdes;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.FROMLOCDES
+     *
+     * @param fromlocdes the value for EQUOPERATIONRECORD.FROMLOCDES
+     *
+     * @mbg.generated
+     */
+    public void setFromlocdes(String fromlocdes) {
+        this.fromlocdes = fromlocdes == null ? null : fromlocdes.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.TOLOCDES
+     *
+     * @return the value of EQUOPERATIONRECORD.TOLOCDES
+     *
+     * @mbg.generated
+     */
+    public String getTolocdes() {
+        return tolocdes;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.TOLOCDES
+     *
+     * @param tolocdes the value for EQUOPERATIONRECORD.TOLOCDES
+     *
+     * @mbg.generated
+     */
+    public void setTolocdes(String tolocdes) {
+        this.tolocdes = tolocdes == null ? null : tolocdes.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.TYPECODE
+     *
+     * @return the value of EQUOPERATIONRECORD.TYPECODE
+     *
+     * @mbg.generated
+     */
+    public String getTypecode() {
+        return typecode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.TYPECODE
+     *
+     * @param typecode the value for EQUOPERATIONRECORD.TYPECODE
+     *
+     * @mbg.generated
+     */
+    public void setTypecode(String typecode) {
+        this.typecode = typecode == null ? null : typecode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.WTNUM
+     *
+     * @return the value of EQUOPERATIONRECORD.WTNUM
+     *
+     * @mbg.generated
+     */
+    public String getWtnum() {
+        return wtnum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.WTNUM
+     *
+     * @param wtnum the value for EQUOPERATIONRECORD.WTNUM
+     *
+     * @mbg.generated
+     */
+    public void setWtnum(String wtnum) {
+        this.wtnum = wtnum == null ? null : wtnum.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.EQNUM
+     *
+     * @return the value of EQUOPERATIONRECORD.EQNUM
+     *
+     * @mbg.generated
+     */
+    public String getEqnum() {
+        return eqnum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.EQNUM
+     *
+     * @param eqnum the value for EQUOPERATIONRECORD.EQNUM
+     *
+     * @mbg.generated
+     */
+    public void setEqnum(String eqnum) {
+        this.eqnum = eqnum == null ? null : eqnum.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.PROBLEM
+     *
+     * @return the value of EQUOPERATIONRECORD.PROBLEM
+     *
+     * @mbg.generated
+     */
+    public String getProblem() {
+        return problem;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.PROBLEM
+     *
+     * @param problem the value for EQUOPERATIONRECORD.PROBLEM
+     *
+     * @mbg.generated
+     */
+    public void setProblem(String problem) {
+        this.problem = problem == null ? null : problem.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.SOLVEWAY
+     *
+     * @return the value of EQUOPERATIONRECORD.SOLVEWAY
+     *
+     * @mbg.generated
+     */
+    public String getSolveway() {
+        return solveway;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.SOLVEWAY
+     *
+     * @param solveway the value for EQUOPERATIONRECORD.SOLVEWAY
+     *
+     * @mbg.generated
+     */
+    public void setSolveway(String solveway) {
+        this.solveway = solveway == null ? null : solveway.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.RESERVE1
+     *
+     * @return the value of EQUOPERATIONRECORD.RESERVE1
+     *
+     * @mbg.generated
+     */
+    public String getReserve1() {
+        return reserve1;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.RESERVE1
+     *
+     * @param reserve1 the value for EQUOPERATIONRECORD.RESERVE1
+     *
+     * @mbg.generated
+     */
+    public void setReserve1(String reserve1) {
+        this.reserve1 = reserve1 == null ? null : reserve1.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.RESERVE2
+     *
+     * @return the value of EQUOPERATIONRECORD.RESERVE2
+     *
+     * @mbg.generated
+     */
+    public String getReserve2() {
+        return reserve2;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.RESERVE2
+     *
+     * @param reserve2 the value for EQUOPERATIONRECORD.RESERVE2
+     *
+     * @mbg.generated
+     */
+    public void setReserve2(String reserve2) {
+        this.reserve2 = reserve2 == null ? null : reserve2.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column EQUOPERATIONRECORD.RESERVE3
+     *
+     * @return the value of EQUOPERATIONRECORD.RESERVE3
+     *
+     * @mbg.generated
+     */
+    public String getReserve3() {
+        return reserve3;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column EQUOPERATIONRECORD.RESERVE3
+     *
+     * @param reserve3 the value for EQUOPERATIONRECORD.RESERVE3
+     *
+     * @mbg.generated
+     */
+    public void setReserve3(String reserve3) {
+        this.reserve3 = reserve3 == null ? null : reserve3.trim();
+    }
+}

Файловите разлики са ограничени, защото са твърде много
+ 1604 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/EquoperationrecordExample.java


+ 311 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/Warehouse.java

@@ -0,0 +1,311 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class Warehouse implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.ID
+     *
+     * @mbg.generated
+     */
+    private BigDecimal id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    private String warehouse;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.DESCRIPTION
+     *
+     * @mbg.generated
+     */
+    private String description;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.WAREHOUSEADMIN
+     *
+     * @mbg.generated
+     */
+    private String warehouseadmin;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.SHIPTOADDR
+     *
+     * @mbg.generated
+     */
+    private String shiptoaddr;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.SHIPTOLABOR
+     *
+     * @mbg.generated
+     */
+    private String shiptolabor;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.SHIPTOINVLABOR
+     *
+     * @mbg.generated
+     */
+    private String shiptoinvlabor;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.SITENUM
+     *
+     * @mbg.generated
+     */
+    private String sitenum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WAREHOUSE.CORPNUM
+     *
+     * @mbg.generated
+     */
+    private String corpnum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.ID
+     *
+     * @return the value of WAREHOUSE.ID
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.ID
+     *
+     * @param id the value for WAREHOUSE.ID
+     *
+     * @mbg.generated
+     */
+    public void setId(BigDecimal id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.WAREHOUSE
+     *
+     * @return the value of WAREHOUSE.WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public String getWarehouse() {
+        return warehouse;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.WAREHOUSE
+     *
+     * @param warehouse the value for WAREHOUSE.WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public void setWarehouse(String warehouse) {
+        this.warehouse = warehouse == null ? null : warehouse.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.DESCRIPTION
+     *
+     * @return the value of WAREHOUSE.DESCRIPTION
+     *
+     * @mbg.generated
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.DESCRIPTION
+     *
+     * @param description the value for WAREHOUSE.DESCRIPTION
+     *
+     * @mbg.generated
+     */
+    public void setDescription(String description) {
+        this.description = description == null ? null : description.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.WAREHOUSEADMIN
+     *
+     * @return the value of WAREHOUSE.WAREHOUSEADMIN
+     *
+     * @mbg.generated
+     */
+    public String getWarehouseadmin() {
+        return warehouseadmin;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.WAREHOUSEADMIN
+     *
+     * @param warehouseadmin the value for WAREHOUSE.WAREHOUSEADMIN
+     *
+     * @mbg.generated
+     */
+    public void setWarehouseadmin(String warehouseadmin) {
+        this.warehouseadmin = warehouseadmin == null ? null : warehouseadmin.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.SHIPTOADDR
+     *
+     * @return the value of WAREHOUSE.SHIPTOADDR
+     *
+     * @mbg.generated
+     */
+    public String getShiptoaddr() {
+        return shiptoaddr;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.SHIPTOADDR
+     *
+     * @param shiptoaddr the value for WAREHOUSE.SHIPTOADDR
+     *
+     * @mbg.generated
+     */
+    public void setShiptoaddr(String shiptoaddr) {
+        this.shiptoaddr = shiptoaddr == null ? null : shiptoaddr.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.SHIPTOLABOR
+     *
+     * @return the value of WAREHOUSE.SHIPTOLABOR
+     *
+     * @mbg.generated
+     */
+    public String getShiptolabor() {
+        return shiptolabor;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.SHIPTOLABOR
+     *
+     * @param shiptolabor the value for WAREHOUSE.SHIPTOLABOR
+     *
+     * @mbg.generated
+     */
+    public void setShiptolabor(String shiptolabor) {
+        this.shiptolabor = shiptolabor == null ? null : shiptolabor.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.SHIPTOINVLABOR
+     *
+     * @return the value of WAREHOUSE.SHIPTOINVLABOR
+     *
+     * @mbg.generated
+     */
+    public String getShiptoinvlabor() {
+        return shiptoinvlabor;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.SHIPTOINVLABOR
+     *
+     * @param shiptoinvlabor the value for WAREHOUSE.SHIPTOINVLABOR
+     *
+     * @mbg.generated
+     */
+    public void setShiptoinvlabor(String shiptoinvlabor) {
+        this.shiptoinvlabor = shiptoinvlabor == null ? null : shiptoinvlabor.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.SITENUM
+     *
+     * @return the value of WAREHOUSE.SITENUM
+     *
+     * @mbg.generated
+     */
+    public String getSitenum() {
+        return sitenum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.SITENUM
+     *
+     * @param sitenum the value for WAREHOUSE.SITENUM
+     *
+     * @mbg.generated
+     */
+    public void setSitenum(String sitenum) {
+        this.sitenum = sitenum == null ? null : sitenum.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WAREHOUSE.CORPNUM
+     *
+     * @return the value of WAREHOUSE.CORPNUM
+     *
+     * @mbg.generated
+     */
+    public String getCorpnum() {
+        return corpnum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WAREHOUSE.CORPNUM
+     *
+     * @param corpnum the value for WAREHOUSE.CORPNUM
+     *
+     * @mbg.generated
+     */
+    public void setCorpnum(String corpnum) {
+        this.corpnum = corpnum == null ? null : corpnum.trim();
+    }
+}

+ 923 - 0
web/health-hb/src/main/java/com/gyee/frame/model/auto/WarehouseExample.java

@@ -0,0 +1,923 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
+public class WarehouseExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public WarehouseExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        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 andIdIsNull() {
+            addCriterion("ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(BigDecimal value) {
+            addCriterion("ID =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(BigDecimal value) {
+            addCriterion("ID <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(BigDecimal value) {
+            addCriterion("ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(BigDecimal value) {
+            addCriterion("ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<BigDecimal> values) {
+            addCriterion("ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<BigDecimal> values) {
+            addCriterion("ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseIsNull() {
+            addCriterion("WAREHOUSE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseIsNotNull() {
+            addCriterion("WAREHOUSE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseEqualTo(String value) {
+            addCriterion("WAREHOUSE =", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseNotEqualTo(String value) {
+            addCriterion("WAREHOUSE <>", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseGreaterThan(String value) {
+            addCriterion("WAREHOUSE >", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseGreaterThanOrEqualTo(String value) {
+            addCriterion("WAREHOUSE >=", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseLessThan(String value) {
+            addCriterion("WAREHOUSE <", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseLessThanOrEqualTo(String value) {
+            addCriterion("WAREHOUSE <=", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseLike(String value) {
+            addCriterion("WAREHOUSE like", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseNotLike(String value) {
+            addCriterion("WAREHOUSE not like", value, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseIn(List<String> values) {
+            addCriterion("WAREHOUSE in", values, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseNotIn(List<String> values) {
+            addCriterion("WAREHOUSE not in", values, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseBetween(String value1, String value2) {
+            addCriterion("WAREHOUSE between", value1, value2, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseNotBetween(String value1, String value2) {
+            addCriterion("WAREHOUSE not between", value1, value2, "warehouse");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionIsNull() {
+            addCriterion("DESCRIPTION is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionIsNotNull() {
+            addCriterion("DESCRIPTION is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionEqualTo(String value) {
+            addCriterion("DESCRIPTION =", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionNotEqualTo(String value) {
+            addCriterion("DESCRIPTION <>", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionGreaterThan(String value) {
+            addCriterion("DESCRIPTION >", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
+            addCriterion("DESCRIPTION >=", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionLessThan(String value) {
+            addCriterion("DESCRIPTION <", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionLessThanOrEqualTo(String value) {
+            addCriterion("DESCRIPTION <=", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionLike(String value) {
+            addCriterion("DESCRIPTION like", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionNotLike(String value) {
+            addCriterion("DESCRIPTION not like", value, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionIn(List<String> values) {
+            addCriterion("DESCRIPTION in", values, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionNotIn(List<String> values) {
+            addCriterion("DESCRIPTION not in", values, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionBetween(String value1, String value2) {
+            addCriterion("DESCRIPTION between", value1, value2, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andDescriptionNotBetween(String value1, String value2) {
+            addCriterion("DESCRIPTION not between", value1, value2, "description");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminIsNull() {
+            addCriterion("WAREHOUSEADMIN is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminIsNotNull() {
+            addCriterion("WAREHOUSEADMIN is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminEqualTo(String value) {
+            addCriterion("WAREHOUSEADMIN =", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminNotEqualTo(String value) {
+            addCriterion("WAREHOUSEADMIN <>", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminGreaterThan(String value) {
+            addCriterion("WAREHOUSEADMIN >", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminGreaterThanOrEqualTo(String value) {
+            addCriterion("WAREHOUSEADMIN >=", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminLessThan(String value) {
+            addCriterion("WAREHOUSEADMIN <", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminLessThanOrEqualTo(String value) {
+            addCriterion("WAREHOUSEADMIN <=", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminLike(String value) {
+            addCriterion("WAREHOUSEADMIN like", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminNotLike(String value) {
+            addCriterion("WAREHOUSEADMIN not like", value, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminIn(List<String> values) {
+            addCriterion("WAREHOUSEADMIN in", values, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminNotIn(List<String> values) {
+            addCriterion("WAREHOUSEADMIN not in", values, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminBetween(String value1, String value2) {
+            addCriterion("WAREHOUSEADMIN between", value1, value2, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andWarehouseadminNotBetween(String value1, String value2) {
+            addCriterion("WAREHOUSEADMIN not between", value1, value2, "warehouseadmin");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrIsNull() {
+            addCriterion("SHIPTOADDR is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrIsNotNull() {
+            addCriterion("SHIPTOADDR is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrEqualTo(String value) {
+            addCriterion("SHIPTOADDR =", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrNotEqualTo(String value) {
+            addCriterion("SHIPTOADDR <>", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrGreaterThan(String value) {
+            addCriterion("SHIPTOADDR >", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrGreaterThanOrEqualTo(String value) {
+            addCriterion("SHIPTOADDR >=", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrLessThan(String value) {
+            addCriterion("SHIPTOADDR <", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrLessThanOrEqualTo(String value) {
+            addCriterion("SHIPTOADDR <=", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrLike(String value) {
+            addCriterion("SHIPTOADDR like", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrNotLike(String value) {
+            addCriterion("SHIPTOADDR not like", value, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrIn(List<String> values) {
+            addCriterion("SHIPTOADDR in", values, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrNotIn(List<String> values) {
+            addCriterion("SHIPTOADDR not in", values, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrBetween(String value1, String value2) {
+            addCriterion("SHIPTOADDR between", value1, value2, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoaddrNotBetween(String value1, String value2) {
+            addCriterion("SHIPTOADDR not between", value1, value2, "shiptoaddr");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborIsNull() {
+            addCriterion("SHIPTOLABOR is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborIsNotNull() {
+            addCriterion("SHIPTOLABOR is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborEqualTo(String value) {
+            addCriterion("SHIPTOLABOR =", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborNotEqualTo(String value) {
+            addCriterion("SHIPTOLABOR <>", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborGreaterThan(String value) {
+            addCriterion("SHIPTOLABOR >", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborGreaterThanOrEqualTo(String value) {
+            addCriterion("SHIPTOLABOR >=", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborLessThan(String value) {
+            addCriterion("SHIPTOLABOR <", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborLessThanOrEqualTo(String value) {
+            addCriterion("SHIPTOLABOR <=", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborLike(String value) {
+            addCriterion("SHIPTOLABOR like", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborNotLike(String value) {
+            addCriterion("SHIPTOLABOR not like", value, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborIn(List<String> values) {
+            addCriterion("SHIPTOLABOR in", values, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborNotIn(List<String> values) {
+            addCriterion("SHIPTOLABOR not in", values, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborBetween(String value1, String value2) {
+            addCriterion("SHIPTOLABOR between", value1, value2, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptolaborNotBetween(String value1, String value2) {
+            addCriterion("SHIPTOLABOR not between", value1, value2, "shiptolabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborIsNull() {
+            addCriterion("SHIPTOINVLABOR is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborIsNotNull() {
+            addCriterion("SHIPTOINVLABOR is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborEqualTo(String value) {
+            addCriterion("SHIPTOINVLABOR =", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborNotEqualTo(String value) {
+            addCriterion("SHIPTOINVLABOR <>", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborGreaterThan(String value) {
+            addCriterion("SHIPTOINVLABOR >", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborGreaterThanOrEqualTo(String value) {
+            addCriterion("SHIPTOINVLABOR >=", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborLessThan(String value) {
+            addCriterion("SHIPTOINVLABOR <", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborLessThanOrEqualTo(String value) {
+            addCriterion("SHIPTOINVLABOR <=", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborLike(String value) {
+            addCriterion("SHIPTOINVLABOR like", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborNotLike(String value) {
+            addCriterion("SHIPTOINVLABOR not like", value, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborIn(List<String> values) {
+            addCriterion("SHIPTOINVLABOR in", values, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborNotIn(List<String> values) {
+            addCriterion("SHIPTOINVLABOR not in", values, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborBetween(String value1, String value2) {
+            addCriterion("SHIPTOINVLABOR between", value1, value2, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andShiptoinvlaborNotBetween(String value1, String value2) {
+            addCriterion("SHIPTOINVLABOR not between", value1, value2, "shiptoinvlabor");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumIsNull() {
+            addCriterion("SITENUM is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumIsNotNull() {
+            addCriterion("SITENUM is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumEqualTo(String value) {
+            addCriterion("SITENUM =", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumNotEqualTo(String value) {
+            addCriterion("SITENUM <>", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumGreaterThan(String value) {
+            addCriterion("SITENUM >", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumGreaterThanOrEqualTo(String value) {
+            addCriterion("SITENUM >=", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumLessThan(String value) {
+            addCriterion("SITENUM <", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumLessThanOrEqualTo(String value) {
+            addCriterion("SITENUM <=", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumLike(String value) {
+            addCriterion("SITENUM like", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumNotLike(String value) {
+            addCriterion("SITENUM not like", value, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumIn(List<String> values) {
+            addCriterion("SITENUM in", values, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumNotIn(List<String> values) {
+            addCriterion("SITENUM not in", values, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumBetween(String value1, String value2) {
+            addCriterion("SITENUM between", value1, value2, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andSitenumNotBetween(String value1, String value2) {
+            addCriterion("SITENUM not between", value1, value2, "sitenum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumIsNull() {
+            addCriterion("CORPNUM is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumIsNotNull() {
+            addCriterion("CORPNUM is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumEqualTo(String value) {
+            addCriterion("CORPNUM =", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumNotEqualTo(String value) {
+            addCriterion("CORPNUM <>", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumGreaterThan(String value) {
+            addCriterion("CORPNUM >", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumGreaterThanOrEqualTo(String value) {
+            addCriterion("CORPNUM >=", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumLessThan(String value) {
+            addCriterion("CORPNUM <", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumLessThanOrEqualTo(String value) {
+            addCriterion("CORPNUM <=", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumLike(String value) {
+            addCriterion("CORPNUM like", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumNotLike(String value) {
+            addCriterion("CORPNUM not like", value, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumIn(List<String> values) {
+            addCriterion("CORPNUM in", values, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumNotIn(List<String> values) {
+            addCriterion("CORPNUM not in", values, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumBetween(String value1, String value2) {
+            addCriterion("CORPNUM between", value1, value2, "corpnum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCorpnumNotBetween(String value1, String value2) {
+            addCriterion("CORPNUM not between", value1, value2, "corpnum");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WAREHOUSE
+     *
+     * @mbg.generated
+     */
+    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);
+        }
+    }
+}

+ 104 - 0
web/health-hb/src/main/java/com/gyee/frame/service/CompaniesSqlService.java

@@ -0,0 +1,104 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.mapper.auto.CompaniesMapper;
+import com.gyee.frame.model.auto.Companies;
+import com.gyee.frame.model.auto.CompaniesExample;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class CompaniesSqlService implements BaseService<Companies, CompaniesExample> {
+	@Resource
+	private CompaniesMapper companiesMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+
+
+			return -1;
+
+
+	}
+
+
+	@Override
+	public Companies selectByPrimaryKey(String id) {
+
+        return new Companies();
+
+
+    }
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Companies record) {
+		return companiesMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Companies record) {
+				
+			
+				
+		return companiesMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Companies record, CompaniesExample example) {
+		
+		return companiesMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Companies record, CompaniesExample example) {
+		
+		return companiesMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Companies> selectByExample(CompaniesExample example) {
+		
+		return companiesMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(CompaniesExample example) {
+		
+		return companiesMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(CompaniesExample example) {
+		
+		return companiesMapper.deleteByExample(example);
+	}
+
+	@DataSource(value = DataSourceType.TICKET)
+	public List<Companies> findCompanies() {
+
+
+        CompaniesExample example=new CompaniesExample();
+
+
+        List<Companies> list= companiesMapper.selectByExample(example);
+
+
+		return list;
+
+	}
+}

+ 37 - 0
web/health-hb/src/main/java/com/gyee/frame/service/EquoperationrecordService.java

@@ -0,0 +1,37 @@
+package com.gyee.frame.service;
+
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.mapper.auto.EquoperationrecordMapper;
+import com.gyee.frame.model.auto.Equoperationrecord;
+import com.gyee.frame.model.custom.Tablepar;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class EquoperationrecordService {
+
+    @Resource
+    private EquoperationrecordMapper equoperationrecordMapper;
+
+    @DataSource(value = DataSourceType.TICKET)
+    public PageInfo<Equoperationrecord> equoperationrecordList(Tablepar tablepar, String startTime, String endTime, String wtid, String type) {
+
+
+        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+
+
+        List<Equoperationrecord> list = equoperationrecordMapper.selectEquoperationrecordPageList(startTime, endTime, wtid,type);
+
+        PageInfo<Equoperationrecord> pageInfo = new PageInfo<Equoperationrecord>(list);
+
+        return pageInfo;
+    }
+
+    
+}

+ 104 - 0
web/health-hb/src/main/java/com/gyee/frame/service/WarehouseSqlService.java

@@ -0,0 +1,104 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.mapper.auto.WarehouseMapper;
+import com.gyee.frame.model.auto.Warehouse;
+import com.gyee.frame.model.auto.WarehouseExample;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class WarehouseSqlService implements BaseService<Warehouse, WarehouseExample> {
+	@Resource
+	private WarehouseMapper warehouseMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+
+
+			return -1;
+
+
+	}
+
+
+	@Override
+	public Warehouse selectByPrimaryKey(String id) {
+
+        return new Warehouse();
+
+
+    }
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Warehouse record) {
+		return warehouseMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Warehouse record) {
+				
+			
+				
+		return warehouseMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Warehouse record, WarehouseExample example) {
+		
+		return warehouseMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Warehouse record, WarehouseExample example) {
+		
+		return warehouseMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Warehouse> selectByExample(WarehouseExample example) {
+		
+		return warehouseMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WarehouseExample example) {
+		
+		return warehouseMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WarehouseExample example) {
+		
+		return warehouseMapper.deleteByExample(example);
+	}
+
+	@DataSource(value = DataSourceType.TICKET)
+	public List<Warehouse> findWarehouse() {
+
+
+        WarehouseExample example=new WarehouseExample();
+
+
+        List<Warehouse> list= warehouseMapper.selectByExample(example);
+
+
+		return list;
+
+	}
+}

+ 10 - 10
web/health-hb/src/main/resources/application-dev.yml

@@ -11,14 +11,14 @@ spring:
         #        url: jdbc:mysql://localhost:3306/springbootv2?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
         #        username: root
         #        password: 123456
-        url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
-        #url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+        #url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
+        url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
         #url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
         #url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
-#        username: gdprod
-#        password: gd123
-        username: nxfdprod
-        password: gdnxfd123
+        username: gdprod
+        password: gd123
+#        username: nxfdprod
+#        password: gdnxfd123
         driver-class-name: oracle.jdbc.driver.OracleDriver
 #        url: jdbc:postgresql://10.81.3.151:5432/wisdom
 #        username: gdprod
@@ -32,13 +32,13 @@ spring:
         password: root
         #两票数据源
       ticket:
-        url: jdbc:sqlserver://123.60.213.70:1434;DatabaseName=fdeam
-        #url: jdbc:sqlserver://192.168.2.200:1434;DatabaseName=fdeamnew
+        #url: jdbc:sqlserver://123.60.213.70:1434;DatabaseName=fdeam
+        url: jdbc:sqlserver://192.168.2.200:1434;DatabaseName=fdeamnew
         #url: jdbc:sqlserver://10.83.68.98:1434;DatabaseName=fdeamnew
         #url: jdbc:sqlserver://10.0.118.71:1433;DatabaseName=fdeamnew
         username: sa
-        #password: ibs
-        password: Gyee@321#!
+        password: ibs
+        #password: Gyee@321#!
         #password: Gd!123456
         driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
         #配置初始化连接数大小

+ 11 - 10
web/health-hb/src/main/resources/application.yml

@@ -28,16 +28,16 @@ gyee:
   #实时数据库Url
   #baseurl: http://10.0.118.73:8011/ts
   #baseurl: http://10.83.68.97:8011/ts
-  #baseurl: http://192.168.2.216:8011/ts
-  baseurl: http://123.60.213.70:8011/ts
+  baseurl: http://192.168.2.198:8011/ts
+  #baseurl: http://123.60.213.70:8011/ts
   #API访问ip
   #swaggerip: 49.4.50.80:8082
   swaggerip: 10.155.32.4:8082
   #默认小数位数
   digit: 2
   realtimedataBase: golden #数据查询模式 golden、hwy
-  weatherurl: http://123.60.213.70:7011
-  #weatherurl: http://192.168.2.216:7011
+  #weatherurl: http://123.60.213.70:7011
+  weatherurl: http://192.168.2.198:7011
   #weatherurl: http://10.83.68.97:7011
   weatherqygs: hb_qygs
   hbmaps: {CL_FDC_KEY: 2003,KB_FDC_KEY: 1460,DX_FDC_KEY: 2186,SY_FDC_KEY: 1366}
@@ -67,8 +67,8 @@ spring :
     cloud:
       nacos:
         discovery:
-          server-addr: 192.168.56.1:8848
-          #server-addr: 192.168.2.216:8848
+          #server-addr: 192.168.56.1:8848
+          server-addr: 192.168.2.198:8848
           #server-addr: 10.83.68.97:8848
           #指定yaml格式的配置
           file-extension: yaml
@@ -96,12 +96,12 @@ spring :
       #指定目录不更新
       exclude: test/**
   redis:
-    database: 1
-    #host: 192.168.2.202
-    host: 123.60.213.70
+    database: 19
+    host: 192.168.2.202
+    #host: 123.60.213.70
     #host: 10.83.68.94
     #host: 10.0.118.73
-    password: gdnxfd123
+    password:
     pool:
       maxTotal: 20
       maxIdle: 20
@@ -140,6 +140,7 @@ asyncThreadPool:
   # 线程名字前缀
   threadNamePrefix: thread-pool-task-executor-
 pagehelper:
+  auto-runtime-dialect: true
   helperDialect: oracle
   reasonable: true
   supportMethodsArguments: true

+ 13 - 13
web/health-hb/src/main/resources/mybatis-generator.xml

@@ -51,19 +51,19 @@
 <!--                userId="root"-->
 <!--                password="123456">-->
 <!--        </jdbcConnection>-->
-        <jdbcConnection
-                driverClass="oracle.jdbc.driver.OracleDriver"
-                connectionURL="jdbc:oracle:thin:@10.0.118.71:1521:gdsj"
-                userId="gdprod"
-                password="gd123">
-        </jdbcConnection>
+<!--        <jdbcConnection-->
+<!--                driverClass="oracle.jdbc.driver.OracleDriver"-->
+<!--                connectionURL="jdbc:oracle:thin:@10.0.118.71:1521:gdsj"-->
+<!--                userId="gdprod"-->
+<!--                password="gd123">-->
+<!--        </jdbcConnection>-->
 
-<!--                <jdbcConnection-->
-<!--                        driverClass="com.microsoft.sqlserver.jdbc.SQLServerDriver"-->
-<!--                        connectionURL="jdbc:sqlserver://10.155.32.2:1433;DatabaseName=fdeam"-->
-<!--                        userId="sa"-->
-<!--                        password="Gyee@321#!">-->
-<!--                </jdbcConnection>-->
+                <jdbcConnection
+                        driverClass="com.microsoft.sqlserver.jdbc.SQLServerDriver"
+                        connectionURL="jdbc:sqlserver://123.60.213.70:1433;DatabaseName=fdeam"
+                        userId="sa"
+                        password="Gyee@321#!">
+                </jdbcConnection>
         <javaTypeResolver>
             <property name="forceBigDecimals" value="false"/>
         </javaTypeResolver>
@@ -110,7 +110,7 @@
 <!--        <table tableName='StopAnalysismain' domainObjectName='StopAnalysismain'/>-->
 <!--        <table tableName='StopAnalysismainVo' domainObjectName='StopAnalysismainVo'/>-->
 
-        <table tableName='windsubstationtestingpointnew' domainObjectName='Windsubstationtestingpointnew'/>
+        <table tableName='Warehouse' domainObjectName='Warehouse'/>
 
 
     </context>

+ 809 - 0
web/health-hb/src/main/resources/mybatis/auto/CompaniesMapper.xml

@@ -0,0 +1,809 @@
+<?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.gyee.frame.mapper.auto.CompaniesMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="COMPANY" jdbcType="NVARCHAR" property="company" />
+    <result column="PARENT" jdbcType="NVARCHAR" property="parent" />
+    <result column="TYPE" jdbcType="NVARCHAR" property="type" />
+    <result column="REGFUND" jdbcType="NVARCHAR" property="regfund" />
+    <result column="COMPTYPE" jdbcType="NVARCHAR" property="comptype" />
+    <result column="DELEGATE" jdbcType="NVARCHAR" property="delegate" />
+    <result column="REGNUM" jdbcType="NVARCHAR" property="regnum" />
+    <result column="TAXNUM" jdbcType="NVARCHAR" property="taxnum" />
+    <result column="MAINPROD" jdbcType="NVARCHAR" property="mainprod" />
+    <result column="DEALIN" jdbcType="NVARCHAR" property="dealin" />
+    <result column="ADDRESS" jdbcType="NVARCHAR" property="address" />
+    <result column="POSTNUM" jdbcType="NVARCHAR" property="postnum" />
+    <result column="PROVINCE" jdbcType="NVARCHAR" property="province" />
+    <result column="CITY" jdbcType="NVARCHAR" property="city" />
+    <result column="CONTACT" jdbcType="NVARCHAR" property="contact" />
+    <result column="PHONE" jdbcType="NVARCHAR" property="phone" />
+    <result column="FAX" jdbcType="NVARCHAR" property="fax" />
+    <result column="CONTACTMP" jdbcType="NVARCHAR" property="contactmp" />
+    <result column="CONTACTMAIL" jdbcType="NVARCHAR" property="contactmail" />
+    <result column="FOB" jdbcType="NVARCHAR" property="fob" />
+    <result column="FREIGHTTERMS" jdbcType="NVARCHAR" property="freightterms" />
+    <result column="SHIPVIA" jdbcType="NVARCHAR" property="shipvia" />
+    <result column="PAYMENTTERMS" jdbcType="NVARCHAR" property="paymentterms" />
+    <result column="EBSNUM" jdbcType="NVARCHAR" property="ebsnum" />
+    <result column="EBSISSYNC" jdbcType="NVARCHAR" property="ebsissync" />
+    <result column="CHANGEBY" jdbcType="NVARCHAR" property="changeby" />
+    <result column="CHANGEDATE" jdbcType="TIMESTAMP" property="changedate" />
+    <result column="PAYVENDOR" jdbcType="NVARCHAR" property="payvendor" />
+    <result column="BANKNAME" jdbcType="NVARCHAR" property="bankname" />
+    <result column="BANKACCOUNT" jdbcType="NVARCHAR" property="bankaccount" />
+    <result column="DISABLED" jdbcType="NVARCHAR" property="disabled" />
+    <result column="REMITADDR" jdbcType="NVARCHAR" property="remitaddr" />
+    <result column="REMITPOSTNUM" jdbcType="NVARCHAR" property="remitpostnum" />
+    <result column="REMITPHONE" jdbcType="NVARCHAR" property="remitphone" />
+    <result column="REMITTO" jdbcType="NVARCHAR" property="remitto" />
+    <result column="HOMEPAGE" jdbcType="NVARCHAR" property="homepage" />
+    <result column="DEFWAREHOUSE" jdbcType="NVARCHAR" property="defwarehouse" />
+    <result column="DESCRIPTION" jdbcType="NVARCHAR" property="description" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, COMPANY, PARENT, TYPE, REGFUND, COMPTYPE, DELEGATE, REGNUM, TAXNUM, MAINPROD, 
+    DEALIN, ADDRESS, POSTNUM, PROVINCE, CITY, CONTACT, PHONE, FAX, CONTACTMP, CONTACTMAIL, 
+    FOB, FREIGHTTERMS, SHIPVIA, PAYMENTTERMS, EBSNUM, EBSISSYNC, CHANGEBY, CHANGEDATE, 
+    PAYVENDOR, BANKNAME, BANKACCOUNT, DISABLED, REMITADDR, REMITPOSTNUM, REMITPHONE, 
+    REMITTO, HOMEPAGE, DEFWAREHOUSE, DESCRIPTION
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from COMPANIES
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from COMPANIES
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from COMPANIES
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from COMPANIES
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into COMPANIES (ID, COMPANY, PARENT, 
+      TYPE, REGFUND, COMPTYPE, 
+      DELEGATE, REGNUM, TAXNUM, 
+      MAINPROD, DEALIN, ADDRESS, 
+      POSTNUM, PROVINCE, CITY, 
+      CONTACT, PHONE, FAX, 
+      CONTACTMP, CONTACTMAIL, FOB, 
+      FREIGHTTERMS, SHIPVIA, PAYMENTTERMS, 
+      EBSNUM, EBSISSYNC, CHANGEBY, 
+      CHANGEDATE, PAYVENDOR, BANKNAME, 
+      BANKACCOUNT, DISABLED, REMITADDR, 
+      REMITPOSTNUM, REMITPHONE, REMITTO, 
+      HOMEPAGE, DEFWAREHOUSE, DESCRIPTION
+      )
+    values (#{id,jdbcType=NUMERIC}, #{company,jdbcType=NVARCHAR}, #{parent,jdbcType=NVARCHAR}, 
+      #{type,jdbcType=NVARCHAR}, #{regfund,jdbcType=NVARCHAR}, #{comptype,jdbcType=NVARCHAR}, 
+      #{delegate,jdbcType=NVARCHAR}, #{regnum,jdbcType=NVARCHAR}, #{taxnum,jdbcType=NVARCHAR}, 
+      #{mainprod,jdbcType=NVARCHAR}, #{dealin,jdbcType=NVARCHAR}, #{address,jdbcType=NVARCHAR}, 
+      #{postnum,jdbcType=NVARCHAR}, #{province,jdbcType=NVARCHAR}, #{city,jdbcType=NVARCHAR}, 
+      #{contact,jdbcType=NVARCHAR}, #{phone,jdbcType=NVARCHAR}, #{fax,jdbcType=NVARCHAR}, 
+      #{contactmp,jdbcType=NVARCHAR}, #{contactmail,jdbcType=NVARCHAR}, #{fob,jdbcType=NVARCHAR}, 
+      #{freightterms,jdbcType=NVARCHAR}, #{shipvia,jdbcType=NVARCHAR}, #{paymentterms,jdbcType=NVARCHAR}, 
+      #{ebsnum,jdbcType=NVARCHAR}, #{ebsissync,jdbcType=NVARCHAR}, #{changeby,jdbcType=NVARCHAR}, 
+      #{changedate,jdbcType=TIMESTAMP}, #{payvendor,jdbcType=NVARCHAR}, #{bankname,jdbcType=NVARCHAR}, 
+      #{bankaccount,jdbcType=NVARCHAR}, #{disabled,jdbcType=NVARCHAR}, #{remitaddr,jdbcType=NVARCHAR}, 
+      #{remitpostnum,jdbcType=NVARCHAR}, #{remitphone,jdbcType=NVARCHAR}, #{remitto,jdbcType=NVARCHAR}, 
+      #{homepage,jdbcType=NVARCHAR}, #{defwarehouse,jdbcType=NVARCHAR}, #{description,jdbcType=NVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into COMPANIES
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="company != null">
+        COMPANY,
+      </if>
+      <if test="parent != null">
+        PARENT,
+      </if>
+      <if test="type != null">
+        TYPE,
+      </if>
+      <if test="regfund != null">
+        REGFUND,
+      </if>
+      <if test="comptype != null">
+        COMPTYPE,
+      </if>
+      <if test="delegate != null">
+        DELEGATE,
+      </if>
+      <if test="regnum != null">
+        REGNUM,
+      </if>
+      <if test="taxnum != null">
+        TAXNUM,
+      </if>
+      <if test="mainprod != null">
+        MAINPROD,
+      </if>
+      <if test="dealin != null">
+        DEALIN,
+      </if>
+      <if test="address != null">
+        ADDRESS,
+      </if>
+      <if test="postnum != null">
+        POSTNUM,
+      </if>
+      <if test="province != null">
+        PROVINCE,
+      </if>
+      <if test="city != null">
+        CITY,
+      </if>
+      <if test="contact != null">
+        CONTACT,
+      </if>
+      <if test="phone != null">
+        PHONE,
+      </if>
+      <if test="fax != null">
+        FAX,
+      </if>
+      <if test="contactmp != null">
+        CONTACTMP,
+      </if>
+      <if test="contactmail != null">
+        CONTACTMAIL,
+      </if>
+      <if test="fob != null">
+        FOB,
+      </if>
+      <if test="freightterms != null">
+        FREIGHTTERMS,
+      </if>
+      <if test="shipvia != null">
+        SHIPVIA,
+      </if>
+      <if test="paymentterms != null">
+        PAYMENTTERMS,
+      </if>
+      <if test="ebsnum != null">
+        EBSNUM,
+      </if>
+      <if test="ebsissync != null">
+        EBSISSYNC,
+      </if>
+      <if test="changeby != null">
+        CHANGEBY,
+      </if>
+      <if test="changedate != null">
+        CHANGEDATE,
+      </if>
+      <if test="payvendor != null">
+        PAYVENDOR,
+      </if>
+      <if test="bankname != null">
+        BANKNAME,
+      </if>
+      <if test="bankaccount != null">
+        BANKACCOUNT,
+      </if>
+      <if test="disabled != null">
+        DISABLED,
+      </if>
+      <if test="remitaddr != null">
+        REMITADDR,
+      </if>
+      <if test="remitpostnum != null">
+        REMITPOSTNUM,
+      </if>
+      <if test="remitphone != null">
+        REMITPHONE,
+      </if>
+      <if test="remitto != null">
+        REMITTO,
+      </if>
+      <if test="homepage != null">
+        HOMEPAGE,
+      </if>
+      <if test="defwarehouse != null">
+        DEFWAREHOUSE,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="company != null">
+        #{company,jdbcType=NVARCHAR},
+      </if>
+      <if test="parent != null">
+        #{parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="type != null">
+        #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="regfund != null">
+        #{regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="comptype != null">
+        #{comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="delegate != null">
+        #{delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="regnum != null">
+        #{regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxnum != null">
+        #{taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="mainprod != null">
+        #{mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="dealin != null">
+        #{dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="address != null">
+        #{address,jdbcType=NVARCHAR},
+      </if>
+      <if test="postnum != null">
+        #{postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="province != null">
+        #{province,jdbcType=NVARCHAR},
+      </if>
+      <if test="city != null">
+        #{city,jdbcType=NVARCHAR},
+      </if>
+      <if test="contact != null">
+        #{contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="phone != null">
+        #{phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="fax != null">
+        #{fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmp != null">
+        #{contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmail != null">
+        #{contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="fob != null">
+        #{fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="freightterms != null">
+        #{freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="shipvia != null">
+        #{shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="paymentterms != null">
+        #{paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsnum != null">
+        #{ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsissync != null">
+        #{ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="changeby != null">
+        #{changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="changedate != null">
+        #{changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="payvendor != null">
+        #{payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankname != null">
+        #{bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankaccount != null">
+        #{bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="disabled != null">
+        #{disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitaddr != null">
+        #{remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitpostnum != null">
+        #{remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitphone != null">
+        #{remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitto != null">
+        #{remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="homepage != null">
+        #{homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="defwarehouse != null">
+        #{defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from COMPANIES
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.company != null">
+        COMPANY = #{record.company,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.parent != null">
+        PARENT = #{record.parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.type != null">
+        TYPE = #{record.type,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.regfund != null">
+        REGFUND = #{record.regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.comptype != null">
+        COMPTYPE = #{record.comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.delegate != null">
+        DELEGATE = #{record.delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.regnum != null">
+        REGNUM = #{record.regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.taxnum != null">
+        TAXNUM = #{record.taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.mainprod != null">
+        MAINPROD = #{record.mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.dealin != null">
+        DEALIN = #{record.dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.address != null">
+        ADDRESS = #{record.address,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.postnum != null">
+        POSTNUM = #{record.postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.province != null">
+        PROVINCE = #{record.province,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.city != null">
+        CITY = #{record.city,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contact != null">
+        CONTACT = #{record.contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.phone != null">
+        PHONE = #{record.phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fax != null">
+        FAX = #{record.fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contactmp != null">
+        CONTACTMP = #{record.contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contactmail != null">
+        CONTACTMAIL = #{record.contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fob != null">
+        FOB = #{record.fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.freightterms != null">
+        FREIGHTTERMS = #{record.freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.shipvia != null">
+        SHIPVIA = #{record.shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.paymentterms != null">
+        PAYMENTTERMS = #{record.paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.ebsnum != null">
+        EBSNUM = #{record.ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.ebsissync != null">
+        EBSISSYNC = #{record.ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.changeby != null">
+        CHANGEBY = #{record.changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.changedate != null">
+        CHANGEDATE = #{record.changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.payvendor != null">
+        PAYVENDOR = #{record.payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bankname != null">
+        BANKNAME = #{record.bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bankaccount != null">
+        BANKACCOUNT = #{record.bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.disabled != null">
+        DISABLED = #{record.disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitaddr != null">
+        REMITADDR = #{record.remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitpostnum != null">
+        REMITPOSTNUM = #{record.remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitphone != null">
+        REMITPHONE = #{record.remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitto != null">
+        REMITTO = #{record.remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.homepage != null">
+        HOMEPAGE = #{record.homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.defwarehouse != null">
+        DEFWAREHOUSE = #{record.defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    set ID = #{record.id,jdbcType=NUMERIC},
+      COMPANY = #{record.company,jdbcType=NVARCHAR},
+      PARENT = #{record.parent,jdbcType=NVARCHAR},
+      TYPE = #{record.type,jdbcType=NVARCHAR},
+      REGFUND = #{record.regfund,jdbcType=NVARCHAR},
+      COMPTYPE = #{record.comptype,jdbcType=NVARCHAR},
+      DELEGATE = #{record.delegate,jdbcType=NVARCHAR},
+      REGNUM = #{record.regnum,jdbcType=NVARCHAR},
+      TAXNUM = #{record.taxnum,jdbcType=NVARCHAR},
+      MAINPROD = #{record.mainprod,jdbcType=NVARCHAR},
+      DEALIN = #{record.dealin,jdbcType=NVARCHAR},
+      ADDRESS = #{record.address,jdbcType=NVARCHAR},
+      POSTNUM = #{record.postnum,jdbcType=NVARCHAR},
+      PROVINCE = #{record.province,jdbcType=NVARCHAR},
+      CITY = #{record.city,jdbcType=NVARCHAR},
+      CONTACT = #{record.contact,jdbcType=NVARCHAR},
+      PHONE = #{record.phone,jdbcType=NVARCHAR},
+      FAX = #{record.fax,jdbcType=NVARCHAR},
+      CONTACTMP = #{record.contactmp,jdbcType=NVARCHAR},
+      CONTACTMAIL = #{record.contactmail,jdbcType=NVARCHAR},
+      FOB = #{record.fob,jdbcType=NVARCHAR},
+      FREIGHTTERMS = #{record.freightterms,jdbcType=NVARCHAR},
+      SHIPVIA = #{record.shipvia,jdbcType=NVARCHAR},
+      PAYMENTTERMS = #{record.paymentterms,jdbcType=NVARCHAR},
+      EBSNUM = #{record.ebsnum,jdbcType=NVARCHAR},
+      EBSISSYNC = #{record.ebsissync,jdbcType=NVARCHAR},
+      CHANGEBY = #{record.changeby,jdbcType=NVARCHAR},
+      CHANGEDATE = #{record.changedate,jdbcType=TIMESTAMP},
+      PAYVENDOR = #{record.payvendor,jdbcType=NVARCHAR},
+      BANKNAME = #{record.bankname,jdbcType=NVARCHAR},
+      BANKACCOUNT = #{record.bankaccount,jdbcType=NVARCHAR},
+      DISABLED = #{record.disabled,jdbcType=NVARCHAR},
+      REMITADDR = #{record.remitaddr,jdbcType=NVARCHAR},
+      REMITPOSTNUM = #{record.remitpostnum,jdbcType=NVARCHAR},
+      REMITPHONE = #{record.remitphone,jdbcType=NVARCHAR},
+      REMITTO = #{record.remitto,jdbcType=NVARCHAR},
+      HOMEPAGE = #{record.homepage,jdbcType=NVARCHAR},
+      DEFWAREHOUSE = #{record.defwarehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    <set>
+      <if test="company != null">
+        COMPANY = #{company,jdbcType=NVARCHAR},
+      </if>
+      <if test="parent != null">
+        PARENT = #{parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="type != null">
+        TYPE = #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="regfund != null">
+        REGFUND = #{regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="comptype != null">
+        COMPTYPE = #{comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="delegate != null">
+        DELEGATE = #{delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="regnum != null">
+        REGNUM = #{regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxnum != null">
+        TAXNUM = #{taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="mainprod != null">
+        MAINPROD = #{mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="dealin != null">
+        DEALIN = #{dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="address != null">
+        ADDRESS = #{address,jdbcType=NVARCHAR},
+      </if>
+      <if test="postnum != null">
+        POSTNUM = #{postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="province != null">
+        PROVINCE = #{province,jdbcType=NVARCHAR},
+      </if>
+      <if test="city != null">
+        CITY = #{city,jdbcType=NVARCHAR},
+      </if>
+      <if test="contact != null">
+        CONTACT = #{contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="phone != null">
+        PHONE = #{phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="fax != null">
+        FAX = #{fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmp != null">
+        CONTACTMP = #{contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmail != null">
+        CONTACTMAIL = #{contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="fob != null">
+        FOB = #{fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="freightterms != null">
+        FREIGHTTERMS = #{freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="shipvia != null">
+        SHIPVIA = #{shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="paymentterms != null">
+        PAYMENTTERMS = #{paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsnum != null">
+        EBSNUM = #{ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsissync != null">
+        EBSISSYNC = #{ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="changeby != null">
+        CHANGEBY = #{changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="changedate != null">
+        CHANGEDATE = #{changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="payvendor != null">
+        PAYVENDOR = #{payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankname != null">
+        BANKNAME = #{bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankaccount != null">
+        BANKACCOUNT = #{bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="disabled != null">
+        DISABLED = #{disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitaddr != null">
+        REMITADDR = #{remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitpostnum != null">
+        REMITPOSTNUM = #{remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitphone != null">
+        REMITPHONE = #{remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitto != null">
+        REMITTO = #{remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="homepage != null">
+        HOMEPAGE = #{homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="defwarehouse != null">
+        DEFWAREHOUSE = #{defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    set COMPANY = #{company,jdbcType=NVARCHAR},
+      PARENT = #{parent,jdbcType=NVARCHAR},
+      TYPE = #{type,jdbcType=NVARCHAR},
+      REGFUND = #{regfund,jdbcType=NVARCHAR},
+      COMPTYPE = #{comptype,jdbcType=NVARCHAR},
+      DELEGATE = #{delegate,jdbcType=NVARCHAR},
+      REGNUM = #{regnum,jdbcType=NVARCHAR},
+      TAXNUM = #{taxnum,jdbcType=NVARCHAR},
+      MAINPROD = #{mainprod,jdbcType=NVARCHAR},
+      DEALIN = #{dealin,jdbcType=NVARCHAR},
+      ADDRESS = #{address,jdbcType=NVARCHAR},
+      POSTNUM = #{postnum,jdbcType=NVARCHAR},
+      PROVINCE = #{province,jdbcType=NVARCHAR},
+      CITY = #{city,jdbcType=NVARCHAR},
+      CONTACT = #{contact,jdbcType=NVARCHAR},
+      PHONE = #{phone,jdbcType=NVARCHAR},
+      FAX = #{fax,jdbcType=NVARCHAR},
+      CONTACTMP = #{contactmp,jdbcType=NVARCHAR},
+      CONTACTMAIL = #{contactmail,jdbcType=NVARCHAR},
+      FOB = #{fob,jdbcType=NVARCHAR},
+      FREIGHTTERMS = #{freightterms,jdbcType=NVARCHAR},
+      SHIPVIA = #{shipvia,jdbcType=NVARCHAR},
+      PAYMENTTERMS = #{paymentterms,jdbcType=NVARCHAR},
+      EBSNUM = #{ebsnum,jdbcType=NVARCHAR},
+      EBSISSYNC = #{ebsissync,jdbcType=NVARCHAR},
+      CHANGEBY = #{changeby,jdbcType=NVARCHAR},
+      CHANGEDATE = #{changedate,jdbcType=TIMESTAMP},
+      PAYVENDOR = #{payvendor,jdbcType=NVARCHAR},
+      BANKNAME = #{bankname,jdbcType=NVARCHAR},
+      BANKACCOUNT = #{bankaccount,jdbcType=NVARCHAR},
+      DISABLED = #{disabled,jdbcType=NVARCHAR},
+      REMITADDR = #{remitaddr,jdbcType=NVARCHAR},
+      REMITPOSTNUM = #{remitpostnum,jdbcType=NVARCHAR},
+      REMITPHONE = #{remitphone,jdbcType=NVARCHAR},
+      REMITTO = #{remitto,jdbcType=NVARCHAR},
+      HOMEPAGE = #{homepage,jdbcType=NVARCHAR},
+      DEFWAREHOUSE = #{defwarehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{description,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+</mapper>

+ 526 - 0
web/health-hb/src/main/resources/mybatis/auto/EquoperationrecordMapper.xml

@@ -0,0 +1,526 @@
+<?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.gyee.frame.mapper.auto.EquoperationrecordMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="TYPE" jdbcType="NVARCHAR" property="type" />
+    <result column="FROMLOC" jdbcType="NVARCHAR" property="fromloc" />
+    <result column="TOLOC" jdbcType="NVARCHAR" property="toloc" />
+    <result column="LEADER" jdbcType="NVARCHAR" property="leader" />
+    <result column="OPERATIONLOG" jdbcType="NVARCHAR" property="operationlog" />
+    <result column="STARTTIME" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="ENDTIME" jdbcType="TIMESTAMP" property="endtime" />
+    <result column="WONUM" jdbcType="NVARCHAR" property="wonum" />
+    <result column="FROMLOCDES" jdbcType="NVARCHAR" property="fromlocdes" />
+    <result column="TOLOCDES" jdbcType="NVARCHAR" property="tolocdes" />
+    <result column="TYPECODE" jdbcType="NVARCHAR" property="typecode" />
+    <result column="WTNUM" jdbcType="NVARCHAR" property="wtnum" />
+    <result column="EQNUM" jdbcType="NVARCHAR" property="eqnum" />
+    <result column="PROBLEM" jdbcType="NVARCHAR" property="problem" />
+    <result column="SOLVEWAY" jdbcType="NVARCHAR" property="solveway" />
+    <result column="RESERVE1" jdbcType="NVARCHAR" property="reserve1" />
+    <result column="RESERVE2" jdbcType="NVARCHAR" property="reserve2" />
+    <result column="RESERVE3" jdbcType="NVARCHAR" property="reserve3" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, TYPE, FROMLOC, TOLOC, LEADER, OPERATIONLOG, STARTTIME, ENDTIME, WONUM, FROMLOCDES, 
+    TOLOCDES, TYPECODE, WTNUM, EQNUM, PROBLEM, SOLVEWAY, RESERVE1, RESERVE2, RESERVE3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from EQUOPERATIONRECORD
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from EQUOPERATIONRECORD
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EQUOPERATIONRECORD
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EQUOPERATIONRECORD
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EQUOPERATIONRECORD (ID, TYPE, FROMLOC, 
+      TOLOC, LEADER, OPERATIONLOG, 
+      STARTTIME, ENDTIME, WONUM, 
+      FROMLOCDES, TOLOCDES, TYPECODE, 
+      WTNUM, EQNUM, PROBLEM, 
+      SOLVEWAY, RESERVE1, RESERVE2, 
+      RESERVE3)
+    values (#{id,jdbcType=NUMERIC}, #{type,jdbcType=NVARCHAR}, #{fromloc,jdbcType=NVARCHAR}, 
+      #{toloc,jdbcType=NVARCHAR}, #{leader,jdbcType=NVARCHAR}, #{operationlog,jdbcType=NVARCHAR}, 
+      #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, #{wonum,jdbcType=NVARCHAR}, 
+      #{fromlocdes,jdbcType=NVARCHAR}, #{tolocdes,jdbcType=NVARCHAR}, #{typecode,jdbcType=NVARCHAR}, 
+      #{wtnum,jdbcType=NVARCHAR}, #{eqnum,jdbcType=NVARCHAR}, #{problem,jdbcType=NVARCHAR}, 
+      #{solveway,jdbcType=NVARCHAR}, #{reserve1,jdbcType=NVARCHAR}, #{reserve2,jdbcType=NVARCHAR}, 
+      #{reserve3,jdbcType=NVARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EQUOPERATIONRECORD
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="type != null">
+        TYPE,
+      </if>
+      <if test="fromloc != null">
+        FROMLOC,
+      </if>
+      <if test="toloc != null">
+        TOLOC,
+      </if>
+      <if test="leader != null">
+        LEADER,
+      </if>
+      <if test="operationlog != null">
+        OPERATIONLOG,
+      </if>
+      <if test="starttime != null">
+        STARTTIME,
+      </if>
+      <if test="endtime != null">
+        ENDTIME,
+      </if>
+      <if test="wonum != null">
+        WONUM,
+      </if>
+      <if test="fromlocdes != null">
+        FROMLOCDES,
+      </if>
+      <if test="tolocdes != null">
+        TOLOCDES,
+      </if>
+      <if test="typecode != null">
+        TYPECODE,
+      </if>
+      <if test="wtnum != null">
+        WTNUM,
+      </if>
+      <if test="eqnum != null">
+        EQNUM,
+      </if>
+      <if test="problem != null">
+        PROBLEM,
+      </if>
+      <if test="solveway != null">
+        SOLVEWAY,
+      </if>
+      <if test="reserve1 != null">
+        RESERVE1,
+      </if>
+      <if test="reserve2 != null">
+        RESERVE2,
+      </if>
+      <if test="reserve3 != null">
+        RESERVE3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="type != null">
+        #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="fromloc != null">
+        #{fromloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="toloc != null">
+        #{toloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="leader != null">
+        #{leader,jdbcType=NVARCHAR},
+      </if>
+      <if test="operationlog != null">
+        #{operationlog,jdbcType=NVARCHAR},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endtime != null">
+        #{endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wonum != null">
+        #{wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="fromlocdes != null">
+        #{fromlocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="tolocdes != null">
+        #{tolocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="typecode != null">
+        #{typecode,jdbcType=NVARCHAR},
+      </if>
+      <if test="wtnum != null">
+        #{wtnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="eqnum != null">
+        #{eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="problem != null">
+        #{problem,jdbcType=NVARCHAR},
+      </if>
+      <if test="solveway != null">
+        #{solveway,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve1 != null">
+        #{reserve1,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve2 != null">
+        #{reserve2,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve3 != null">
+        #{reserve3,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from EQUOPERATIONRECORD
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.type != null">
+        TYPE = #{record.type,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fromloc != null">
+        FROMLOC = #{record.fromloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.toloc != null">
+        TOLOC = #{record.toloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.leader != null">
+        LEADER = #{record.leader,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.operationlog != null">
+        OPERATIONLOG = #{record.operationlog,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.starttime != null">
+        STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.endtime != null">
+        ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wonum != null">
+        WONUM = #{record.wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fromlocdes != null">
+        FROMLOCDES = #{record.fromlocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.tolocdes != null">
+        TOLOCDES = #{record.tolocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.typecode != null">
+        TYPECODE = #{record.typecode,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.wtnum != null">
+        WTNUM = #{record.wtnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.eqnum != null">
+        EQNUM = #{record.eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.problem != null">
+        PROBLEM = #{record.problem,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.solveway != null">
+        SOLVEWAY = #{record.solveway,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.reserve1 != null">
+        RESERVE1 = #{record.reserve1,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.reserve2 != null">
+        RESERVE2 = #{record.reserve2,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.reserve3 != null">
+        RESERVE3 = #{record.reserve3,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    set ID = #{record.id,jdbcType=NUMERIC},
+      TYPE = #{record.type,jdbcType=NVARCHAR},
+      FROMLOC = #{record.fromloc,jdbcType=NVARCHAR},
+      TOLOC = #{record.toloc,jdbcType=NVARCHAR},
+      LEADER = #{record.leader,jdbcType=NVARCHAR},
+      OPERATIONLOG = #{record.operationlog,jdbcType=NVARCHAR},
+      STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
+      WONUM = #{record.wonum,jdbcType=NVARCHAR},
+      FROMLOCDES = #{record.fromlocdes,jdbcType=NVARCHAR},
+      TOLOCDES = #{record.tolocdes,jdbcType=NVARCHAR},
+      TYPECODE = #{record.typecode,jdbcType=NVARCHAR},
+      WTNUM = #{record.wtnum,jdbcType=NVARCHAR},
+      EQNUM = #{record.eqnum,jdbcType=NVARCHAR},
+      PROBLEM = #{record.problem,jdbcType=NVARCHAR},
+      SOLVEWAY = #{record.solveway,jdbcType=NVARCHAR},
+      RESERVE1 = #{record.reserve1,jdbcType=NVARCHAR},
+      RESERVE2 = #{record.reserve2,jdbcType=NVARCHAR},
+      RESERVE3 = #{record.reserve3,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    <set>
+      <if test="type != null">
+        TYPE = #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="fromloc != null">
+        FROMLOC = #{fromloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="toloc != null">
+        TOLOC = #{toloc,jdbcType=NVARCHAR},
+      </if>
+      <if test="leader != null">
+        LEADER = #{leader,jdbcType=NVARCHAR},
+      </if>
+      <if test="operationlog != null">
+        OPERATIONLOG = #{operationlog,jdbcType=NVARCHAR},
+      </if>
+      <if test="starttime != null">
+        STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endtime != null">
+        ENDTIME = #{endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wonum != null">
+        WONUM = #{wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="fromlocdes != null">
+        FROMLOCDES = #{fromlocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="tolocdes != null">
+        TOLOCDES = #{tolocdes,jdbcType=NVARCHAR},
+      </if>
+      <if test="typecode != null">
+        TYPECODE = #{typecode,jdbcType=NVARCHAR},
+      </if>
+      <if test="wtnum != null">
+        WTNUM = #{wtnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="eqnum != null">
+        EQNUM = #{eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="problem != null">
+        PROBLEM = #{problem,jdbcType=NVARCHAR},
+      </if>
+      <if test="solveway != null">
+        SOLVEWAY = #{solveway,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve1 != null">
+        RESERVE1 = #{reserve1,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve2 != null">
+        RESERVE2 = #{reserve2,jdbcType=NVARCHAR},
+      </if>
+      <if test="reserve3 != null">
+        RESERVE3 = #{reserve3,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    set TYPE = #{type,jdbcType=NVARCHAR},
+      FROMLOC = #{fromloc,jdbcType=NVARCHAR},
+      TOLOC = #{toloc,jdbcType=NVARCHAR},
+      LEADER = #{leader,jdbcType=NVARCHAR},
+      OPERATIONLOG = #{operationlog,jdbcType=NVARCHAR},
+      STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      ENDTIME = #{endtime,jdbcType=TIMESTAMP},
+      WONUM = #{wonum,jdbcType=NVARCHAR},
+      FROMLOCDES = #{fromlocdes,jdbcType=NVARCHAR},
+      TOLOCDES = #{tolocdes,jdbcType=NVARCHAR},
+      TYPECODE = #{typecode,jdbcType=NVARCHAR},
+      WTNUM = #{wtnum,jdbcType=NVARCHAR},
+      EQNUM = #{eqnum,jdbcType=NVARCHAR},
+      PROBLEM = #{problem,jdbcType=NVARCHAR},
+      SOLVEWAY = #{solveway,jdbcType=NVARCHAR},
+      RESERVE1 = #{reserve1,jdbcType=NVARCHAR},
+      RESERVE2 = #{reserve2,jdbcType=NVARCHAR},
+      RESERVE3 = #{reserve3,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+
+
+    <select id="selectEquoperationrecordPageList"  resultMap="BaseResultMap">
+
+        SELECT
+        e.type,
+        e.leader,
+        e.starttime,
+        e.endtime,
+        e.reserve2,
+        e.wtnum wtid,
+        e.eqnum,
+        e.problem,
+        e.tolocdes,
+        e.solveway
+        FROM
+        equoperationrecord e
+        LEFT JOIN WORKTICKET w ON e.wonum = w.wonum
+        <where>
+            <if test=" '' != wtid and null != wtid ">
+                and e.wtnum = #{wtid}
+            </if>
+            <if test="startTime !=null and endTime !=null">
+                and  e.STARTTIME &gt;= #{startTime} and e.ENDTIME &lt;= #{endTime}
+            </if>
+
+            <if test=" '' != type and null != type ">
+                and e.type = #{type}
+            </if>
+
+        </where>
+
+    </select>
+
+</mapper>

+ 336 - 0
web/health-hb/src/main/resources/mybatis/auto/WarehouseMapper.xml

@@ -0,0 +1,336 @@
+<?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.gyee.frame.mapper.auto.WarehouseMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Warehouse">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="WAREHOUSE" jdbcType="NVARCHAR" property="warehouse" />
+    <result column="DESCRIPTION" jdbcType="NVARCHAR" property="description" />
+    <result column="WAREHOUSEADMIN" jdbcType="NVARCHAR" property="warehouseadmin" />
+    <result column="SHIPTOADDR" jdbcType="NVARCHAR" property="shiptoaddr" />
+    <result column="SHIPTOLABOR" jdbcType="NVARCHAR" property="shiptolabor" />
+    <result column="SHIPTOINVLABOR" jdbcType="NVARCHAR" property="shiptoinvlabor" />
+    <result column="SITENUM" jdbcType="NVARCHAR" property="sitenum" />
+    <result column="CORPNUM" jdbcType="NVARCHAR" property="corpnum" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, WAREHOUSE, DESCRIPTION, WAREHOUSEADMIN, SHIPTOADDR, SHIPTOLABOR, SHIPTOINVLABOR, 
+    SITENUM, CORPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WarehouseExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from WAREHOUSE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from WAREHOUSE
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from WAREHOUSE
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WarehouseExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from WAREHOUSE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Warehouse">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WAREHOUSE (ID, WAREHOUSE, DESCRIPTION, 
+      WAREHOUSEADMIN, SHIPTOADDR, SHIPTOLABOR, 
+      SHIPTOINVLABOR, SITENUM, CORPNUM
+      )
+    values (#{id,jdbcType=NUMERIC}, #{warehouse,jdbcType=NVARCHAR}, #{description,jdbcType=NVARCHAR}, 
+      #{warehouseadmin,jdbcType=NVARCHAR}, #{shiptoaddr,jdbcType=NVARCHAR}, #{shiptolabor,jdbcType=NVARCHAR}, 
+      #{shiptoinvlabor,jdbcType=NVARCHAR}, #{sitenum,jdbcType=NVARCHAR}, #{corpnum,jdbcType=NVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Warehouse">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WAREHOUSE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="warehouse != null">
+        WAREHOUSE,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+      <if test="warehouseadmin != null">
+        WAREHOUSEADMIN,
+      </if>
+      <if test="shiptoaddr != null">
+        SHIPTOADDR,
+      </if>
+      <if test="shiptolabor != null">
+        SHIPTOLABOR,
+      </if>
+      <if test="shiptoinvlabor != null">
+        SHIPTOINVLABOR,
+      </if>
+      <if test="sitenum != null">
+        SITENUM,
+      </if>
+      <if test="corpnum != null">
+        CORPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="warehouse != null">
+        #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouseadmin != null">
+        #{warehouseadmin,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptoaddr != null">
+        #{shiptoaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptolabor != null">
+        #{shiptolabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptoinvlabor != null">
+        #{shiptoinvlabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        #{corpnum,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WarehouseExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from WAREHOUSE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WAREHOUSE
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.warehouse != null">
+        WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.warehouseadmin != null">
+        WAREHOUSEADMIN = #{record.warehouseadmin,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.shiptoaddr != null">
+        SHIPTOADDR = #{record.shiptoaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.shiptolabor != null">
+        SHIPTOLABOR = #{record.shiptolabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.shiptoinvlabor != null">
+        SHIPTOINVLABOR = #{record.shiptoinvlabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.sitenum != null">
+        SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.corpnum != null">
+        CORPNUM = #{record.corpnum,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WAREHOUSE
+    set ID = #{record.id,jdbcType=NUMERIC},
+      WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      WAREHOUSEADMIN = #{record.warehouseadmin,jdbcType=NVARCHAR},
+      SHIPTOADDR = #{record.shiptoaddr,jdbcType=NVARCHAR},
+      SHIPTOLABOR = #{record.shiptolabor,jdbcType=NVARCHAR},
+      SHIPTOINVLABOR = #{record.shiptoinvlabor,jdbcType=NVARCHAR},
+      SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{record.corpnum,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Warehouse">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WAREHOUSE
+    <set>
+      <if test="warehouse != null">
+        WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouseadmin != null">
+        WAREHOUSEADMIN = #{warehouseadmin,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptoaddr != null">
+        SHIPTOADDR = #{shiptoaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptolabor != null">
+        SHIPTOLABOR = #{shiptolabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="shiptoinvlabor != null">
+        SHIPTOINVLABOR = #{shiptoinvlabor,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        CORPNUM = #{corpnum,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Warehouse">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WAREHOUSE
+    set WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      WAREHOUSEADMIN = #{warehouseadmin,jdbcType=NVARCHAR},
+      SHIPTOADDR = #{shiptoaddr,jdbcType=NVARCHAR},
+      SHIPTOLABOR = #{shiptolabor,jdbcType=NVARCHAR},
+      SHIPTOINVLABOR = #{shiptoinvlabor,jdbcType=NVARCHAR},
+      SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{corpnum,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+</mapper>