ソースを参照

git-svn-id: https://192.168.57.71/svn/jsgkj@1720 931142cf-59ea-a443-aa0e-51397b428577

ld_zhoutl 8 年 前
コミット
80be45ca27
22 ファイル変更2374 行追加26 行削除
  1. 3 0
      gkaqv2/trunk/modules/aqsp/src/main/java/META-INF/MANIFEST.MF
  2. 16 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/FzglzbModelMapper.java
  3. 17 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/SgyahzfoModelMapper.java
  4. 21 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/WhxxModelMapper.java
  5. 17 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/YjsbqdModelMapper.java
  6. 21 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/ZyfzModelMapper.java
  7. 195 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/FzglzbModel.java
  8. 455 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/SgyahzfoModel.java
  9. 171 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/WhxxModel.java
  10. 315 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/YjsbqdModel.java
  11. 393 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/ZyfzModel.java
  12. 31 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/ZyfzModelDto.java
  13. 18 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/WhxxService.java
  14. 19 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/ZyfzsqService.java
  15. 27 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/impl/WhxxServiceImpl.java
  16. 45 0
      gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/impl/ZyfzsqServiceImpl.java
  17. 76 0
      gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/FzglzbModelMapper.xml
  18. 148 0
      gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/SgyahzfoModelMapper.xml
  19. 99 0
      gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/WhxxModelMapper.xml
  20. 110 0
      gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/YjsbqdModelMapper.xml
  21. 173 0
      gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/ZyfzModelMapper.xml
  22. 4 26
      gkaqv2/trunk/modules/aqsp/src/main/resources/generatorConfig.xml

+ 3 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/META-INF/MANIFEST.MF

@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+

+ 16 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/FzglzbModelMapper.java

@@ -0,0 +1,16 @@
+package com.xt.js.gkaq.aqsp.mappers;
+
+import com.xt.js.gkaq.aqsp.model.FzglzbModel;
+import java.util.List;
+
+public interface FzglzbModelMapper {
+    int deleteByPrimaryKey(String id);
+
+    int insert(FzglzbModel record);
+
+    FzglzbModel selectByPrimaryKey(String id);
+
+    List<FzglzbModel> selectAll();
+
+    int updateByPrimaryKey(FzglzbModel record);
+}

+ 17 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/SgyahzfoModelMapper.java

@@ -0,0 +1,17 @@
+package com.xt.js.gkaq.aqsp.mappers;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.SgyahzfoModel;
+
+public interface SgyahzfoModelMapper {
+    int deleteByPrimaryKey(String id);
+
+    int insert(SgyahzfoModel record);
+
+    SgyahzfoModel selectByPrimaryKey(String id);
+
+    List<SgyahzfoModel> selectAll();
+
+    int updateByPrimaryKey(SgyahzfoModel record);
+}

+ 21 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/WhxxModelMapper.java

@@ -0,0 +1,21 @@
+package com.xt.js.gkaq.aqsp.mappers;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.WhxxModel;
+import com.xt.js.gkaq.common.BaseMapper;
+
+public interface WhxxModelMapper  extends BaseMapper<WhxxModel> {
+    int deleteByPrimaryKey(String id);
+
+    int insert(WhxxModel record);
+
+    WhxxModel selectByPrimaryKey(String id);
+
+    List<WhxxModel> selectAll();
+
+    int updateByPrimaryKey(WhxxModel record);
+    
+    public List<WhxxModel> selectAllByCond(WhxxModel model);
+    
+}

+ 17 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/YjsbqdModelMapper.java

@@ -0,0 +1,17 @@
+package com.xt.js.gkaq.aqsp.mappers;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.YjsbqdModel;
+
+public interface YjsbqdModelMapper {
+    int deleteByPrimaryKey(String id);
+
+    int insert(YjsbqdModel record);
+
+    YjsbqdModel selectByPrimaryKey(String id);
+
+    List<YjsbqdModel> selectAll();
+
+    int updateByPrimaryKey(YjsbqdModel record);
+}

+ 21 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/mappers/ZyfzModelMapper.java

@@ -0,0 +1,21 @@
+package com.xt.js.gkaq.aqsp.mappers;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.ZyfzModel;
+import com.xt.js.gkaq.aqsp.model.ZyfzModelDto;
+import com.xt.js.gkaq.common.BaseMapper;
+
+public interface ZyfzModelMapper extends BaseMapper<ZyfzModel> {
+    int deleteByPrimaryKey(String id);
+
+    int insert(ZyfzModel record);
+
+    ZyfzModel selectByPrimaryKey(String id);
+
+    List<ZyfzModel> selectAll();
+
+    int updateByPrimaryKey(ZyfzModel record);
+    
+    public List<ZyfzModelDto> selectAllByCond(ZyfzModelDto model);
+}

+ 195 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/FzglzbModel.java

@@ -0,0 +1,195 @@
+package com.xt.js.gkaq.aqsp.model;
+
+import java.util.Date;
+
+public class FzglzbModel {
+    private String id;
+
+    private String fzzyId;
+
+    private String ryid;
+
+    private String zdid;
+
+    private String ssid;
+
+    private String yaid;
+
+    private String szd;
+
+    private String state;
+
+    private String sftb;
+
+    private String tbzt;
+
+    private String tbdyid;
+
+    private String qylb;
+
+    private String ssqy;
+
+    private String orgCode;
+
+    private String flag;
+
+    private String createUser;
+
+    private Date createTime;
+
+    private String updateUser;
+
+    private Date updateTime;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    public String getFzzyId() {
+        return fzzyId;
+    }
+
+    public void setFzzyId(String fzzyId) {
+        this.fzzyId = fzzyId == null ? null : fzzyId.trim();
+    }
+
+    public String getRyid() {
+        return ryid;
+    }
+
+    public void setRyid(String ryid) {
+        this.ryid = ryid == null ? null : ryid.trim();
+    }
+
+    public String getZdid() {
+        return zdid;
+    }
+
+    public void setZdid(String zdid) {
+        this.zdid = zdid == null ? null : zdid.trim();
+    }
+
+    public String getSsid() {
+        return ssid;
+    }
+
+    public void setSsid(String ssid) {
+        this.ssid = ssid == null ? null : ssid.trim();
+    }
+
+    public String getYaid() {
+        return yaid;
+    }
+
+    public void setYaid(String yaid) {
+        this.yaid = yaid == null ? null : yaid.trim();
+    }
+
+    public String getSzd() {
+        return szd;
+    }
+
+    public void setSzd(String szd) {
+        this.szd = szd == null ? null : szd.trim();
+    }
+
+    public String getState() {
+        return state;
+    }
+
+    public void setState(String state) {
+        this.state = state == null ? null : state.trim();
+    }
+
+    public String getSftb() {
+        return sftb;
+    }
+
+    public void setSftb(String sftb) {
+        this.sftb = sftb == null ? null : sftb.trim();
+    }
+
+    public String getTbzt() {
+        return tbzt;
+    }
+
+    public void setTbzt(String tbzt) {
+        this.tbzt = tbzt == null ? null : tbzt.trim();
+    }
+
+    public String getTbdyid() {
+        return tbdyid;
+    }
+
+    public void setTbdyid(String tbdyid) {
+        this.tbdyid = tbdyid == null ? null : tbdyid.trim();
+    }
+
+    public String getQylb() {
+        return qylb;
+    }
+
+    public void setQylb(String qylb) {
+        this.qylb = qylb == null ? null : qylb.trim();
+    }
+
+    public String getSsqy() {
+        return ssqy;
+    }
+
+    public void setSsqy(String ssqy) {
+        this.ssqy = ssqy == null ? null : ssqy.trim();
+    }
+
+    public String getOrgCode() {
+        return orgCode;
+    }
+
+    public void setOrgCode(String orgCode) {
+        this.orgCode = orgCode == null ? null : orgCode.trim();
+    }
+
+    public String getFlag() {
+        return flag;
+    }
+
+    public void setFlag(String flag) {
+        this.flag = flag == null ? null : flag.trim();
+    }
+
+    public String getCreateUser() {
+        return createUser;
+    }
+
+    public void setCreateUser(String createUser) {
+        this.createUser = createUser == null ? null : createUser.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateUser() {
+        return updateUser;
+    }
+
+    public void setUpdateUser(String updateUser) {
+        this.updateUser = updateUser == null ? null : updateUser.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+}

+ 455 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/SgyahzfoModel.java

@@ -0,0 +1,455 @@
+package com.xt.js.gkaq.aqsp.model;
+
+import java.util.Date;
+
+public class SgyahzfoModel {
+    private String id;
+
+    private String yamc;
+
+    private String yajb;
+
+    private String zzdw;
+
+    private Date zdsj;
+
+    private Date xdsj;
+
+    private String yags;
+
+    private String state;
+
+    private String sftb;
+
+    private String tbzt;
+
+    private String tbdyid;
+
+    private String qylb;
+
+    private String ssqy;
+
+    private String gq;
+
+    private String szd;
+
+    private String sfxd;
+
+    private String sfba;
+
+    private String sfpx;
+
+    private String sfpxjl;
+
+    private String sfyl;
+
+    private String sfyljl;
+
+    private String orgCode;
+
+    private String wh;
+
+    private String zyfzId;
+
+    private String qymc;
+
+    private Date fbsj;
+
+    private String tbr;
+
+    private String tbrlxdh;
+
+    private String gkdw;
+
+    private String dwaddress;
+
+    private String jjtype;
+
+    private String cyryrs;
+
+    private String yzbm;
+
+    private Short zczj;
+
+    private String zyfzr;
+
+    private String dh;
+
+    private String dzemail;
+
+    private Date bzdate;
+
+    private String versionno;
+
+    private String fax;
+
+    private String cyry;
+
+    private String createUser;
+
+    private Date createTime;
+
+    private String updateUser;
+
+    private Date updateTime;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    public String getYamc() {
+        return yamc;
+    }
+
+    public void setYamc(String yamc) {
+        this.yamc = yamc == null ? null : yamc.trim();
+    }
+
+    public String getYajb() {
+        return yajb;
+    }
+
+    public void setYajb(String yajb) {
+        this.yajb = yajb == null ? null : yajb.trim();
+    }
+
+    public String getZzdw() {
+        return zzdw;
+    }
+
+    public void setZzdw(String zzdw) {
+        this.zzdw = zzdw == null ? null : zzdw.trim();
+    }
+
+    public Date getZdsj() {
+        return zdsj;
+    }
+
+    public void setZdsj(Date zdsj) {
+        this.zdsj = zdsj;
+    }
+
+    public Date getXdsj() {
+        return xdsj;
+    }
+
+    public void setXdsj(Date xdsj) {
+        this.xdsj = xdsj;
+    }
+
+    public String getYags() {
+        return yags;
+    }
+
+    public void setYags(String yags) {
+        this.yags = yags == null ? null : yags.trim();
+    }
+
+    public String getState() {
+        return state;
+    }
+
+    public void setState(String state) {
+        this.state = state == null ? null : state.trim();
+    }
+
+    public String getSftb() {
+        return sftb;
+    }
+
+    public void setSftb(String sftb) {
+        this.sftb = sftb == null ? null : sftb.trim();
+    }
+
+    public String getTbzt() {
+        return tbzt;
+    }
+
+    public void setTbzt(String tbzt) {
+        this.tbzt = tbzt == null ? null : tbzt.trim();
+    }
+
+    public String getTbdyid() {
+        return tbdyid;
+    }
+
+    public void setTbdyid(String tbdyid) {
+        this.tbdyid = tbdyid == null ? null : tbdyid.trim();
+    }
+
+    public String getQylb() {
+        return qylb;
+    }
+
+    public void setQylb(String qylb) {
+        this.qylb = qylb == null ? null : qylb.trim();
+    }
+
+    public String getSsqy() {
+        return ssqy;
+    }
+
+    public void setSsqy(String ssqy) {
+        this.ssqy = ssqy == null ? null : ssqy.trim();
+    }
+
+    public String getGq() {
+        return gq;
+    }
+
+    public void setGq(String gq) {
+        this.gq = gq == null ? null : gq.trim();
+    }
+
+    public String getSzd() {
+        return szd;
+    }
+
+    public void setSzd(String szd) {
+        this.szd = szd == null ? null : szd.trim();
+    }
+
+    public String getSfxd() {
+        return sfxd;
+    }
+
+    public void setSfxd(String sfxd) {
+        this.sfxd = sfxd == null ? null : sfxd.trim();
+    }
+
+    public String getSfba() {
+        return sfba;
+    }
+
+    public void setSfba(String sfba) {
+        this.sfba = sfba == null ? null : sfba.trim();
+    }
+
+    public String getSfpx() {
+        return sfpx;
+    }
+
+    public void setSfpx(String sfpx) {
+        this.sfpx = sfpx == null ? null : sfpx.trim();
+    }
+
+    public String getSfpxjl() {
+        return sfpxjl;
+    }
+
+    public void setSfpxjl(String sfpxjl) {
+        this.sfpxjl = sfpxjl == null ? null : sfpxjl.trim();
+    }
+
+    public String getSfyl() {
+        return sfyl;
+    }
+
+    public void setSfyl(String sfyl) {
+        this.sfyl = sfyl == null ? null : sfyl.trim();
+    }
+
+    public String getSfyljl() {
+        return sfyljl;
+    }
+
+    public void setSfyljl(String sfyljl) {
+        this.sfyljl = sfyljl == null ? null : sfyljl.trim();
+    }
+
+    public String getOrgCode() {
+        return orgCode;
+    }
+
+    public void setOrgCode(String orgCode) {
+        this.orgCode = orgCode == null ? null : orgCode.trim();
+    }
+
+    public String getWh() {
+        return wh;
+    }
+
+    public void setWh(String wh) {
+        this.wh = wh == null ? null : wh.trim();
+    }
+
+    public String getZyfzId() {
+        return zyfzId;
+    }
+
+    public void setZyfzId(String zyfzId) {
+        this.zyfzId = zyfzId == null ? null : zyfzId.trim();
+    }
+
+    public String getQymc() {
+        return qymc;
+    }
+
+    public void setQymc(String qymc) {
+        this.qymc = qymc == null ? null : qymc.trim();
+    }
+
+    public Date getFbsj() {
+        return fbsj;
+    }
+
+    public void setFbsj(Date fbsj) {
+        this.fbsj = fbsj;
+    }
+
+    public String getTbr() {
+        return tbr;
+    }
+
+    public void setTbr(String tbr) {
+        this.tbr = tbr == null ? null : tbr.trim();
+    }
+
+    public String getTbrlxdh() {
+        return tbrlxdh;
+    }
+
+    public void setTbrlxdh(String tbrlxdh) {
+        this.tbrlxdh = tbrlxdh == null ? null : tbrlxdh.trim();
+    }
+
+    public String getGkdw() {
+        return gkdw;
+    }
+
+    public void setGkdw(String gkdw) {
+        this.gkdw = gkdw == null ? null : gkdw.trim();
+    }
+
+    public String getDwaddress() {
+        return dwaddress;
+    }
+
+    public void setDwaddress(String dwaddress) {
+        this.dwaddress = dwaddress == null ? null : dwaddress.trim();
+    }
+
+    public String getJjtype() {
+        return jjtype;
+    }
+
+    public void setJjtype(String jjtype) {
+        this.jjtype = jjtype == null ? null : jjtype.trim();
+    }
+
+    public String getCyryrs() {
+        return cyryrs;
+    }
+
+    public void setCyryrs(String cyryrs) {
+        this.cyryrs = cyryrs == null ? null : cyryrs.trim();
+    }
+
+    public String getYzbm() {
+        return yzbm;
+    }
+
+    public void setYzbm(String yzbm) {
+        this.yzbm = yzbm == null ? null : yzbm.trim();
+    }
+
+    public Short getZczj() {
+        return zczj;
+    }
+
+    public void setZczj(Short zczj) {
+        this.zczj = zczj;
+    }
+
+    public String getZyfzr() {
+        return zyfzr;
+    }
+
+    public void setZyfzr(String zyfzr) {
+        this.zyfzr = zyfzr == null ? null : zyfzr.trim();
+    }
+
+    public String getDh() {
+        return dh;
+    }
+
+    public void setDh(String dh) {
+        this.dh = dh == null ? null : dh.trim();
+    }
+
+    public String getDzemail() {
+        return dzemail;
+    }
+
+    public void setDzemail(String dzemail) {
+        this.dzemail = dzemail == null ? null : dzemail.trim();
+    }
+
+    public Date getBzdate() {
+        return bzdate;
+    }
+
+    public void setBzdate(Date bzdate) {
+        this.bzdate = bzdate;
+    }
+
+    public String getVersionno() {
+        return versionno;
+    }
+
+    public void setVersionno(String versionno) {
+        this.versionno = versionno == null ? null : versionno.trim();
+    }
+
+    public String getFax() {
+        return fax;
+    }
+
+    public void setFax(String fax) {
+        this.fax = fax == null ? null : fax.trim();
+    }
+
+    public String getCyry() {
+        return cyry;
+    }
+
+    public void setCyry(String cyry) {
+        this.cyry = cyry == null ? null : cyry.trim();
+    }
+
+    public String getCreateUser() {
+        return createUser;
+    }
+
+    public void setCreateUser(String createUser) {
+        this.createUser = createUser == null ? null : createUser.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateUser() {
+        return updateUser;
+    }
+
+    public void setUpdateUser(String updateUser) {
+        this.updateUser = updateUser == null ? null : updateUser.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+}

+ 171 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/WhxxModel.java

@@ -0,0 +1,171 @@
+package com.xt.js.gkaq.aqsp.model;
+
+import com.xt.js.gkaq.common.BaseUUIDModel;
+
+public class WhxxModel extends BaseUUIDModel{
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1L;
+
+    private String zycs;
+
+    private String fzcsbh;
+
+    private String qynbbh;
+
+    private String fzzyId;
+
+    private String sftb;
+
+    private String tbzt;
+
+    private String tbdyid;
+
+    private String qylb;
+
+    private String ssqy;
+
+    private String orgCode;
+
+    private String fzhz;
+
+    private String qynbmc;
+
+    private String jyr;
+
+    private String wxhwm;
+
+    private String wxhwmBz;
+
+    private String szd;
+
+    public String getZycs() {
+        return zycs;
+    }
+
+    public void setZycs(String zycs) {
+        this.zycs = zycs == null ? null : zycs.trim();
+    }
+
+    public String getFzcsbh() {
+        return fzcsbh;
+    }
+
+    public void setFzcsbh(String fzcsbh) {
+        this.fzcsbh = fzcsbh == null ? null : fzcsbh.trim();
+    }
+
+    public String getQynbbh() {
+        return qynbbh;
+    }
+
+    public void setQynbbh(String qynbbh) {
+        this.qynbbh = qynbbh == null ? null : qynbbh.trim();
+    }
+
+    public String getFzzyId() {
+        return fzzyId;
+    }
+
+    public void setFzzyId(String fzzyId) {
+        this.fzzyId = fzzyId == null ? null : fzzyId.trim();
+    }
+
+    public String getSftb() {
+        return sftb;
+    }
+
+    public void setSftb(String sftb) {
+        this.sftb = sftb == null ? null : sftb.trim();
+    }
+
+    public String getTbzt() {
+        return tbzt;
+    }
+
+    public void setTbzt(String tbzt) {
+        this.tbzt = tbzt == null ? null : tbzt.trim();
+    }
+
+    public String getTbdyid() {
+        return tbdyid;
+    }
+
+    public void setTbdyid(String tbdyid) {
+        this.tbdyid = tbdyid == null ? null : tbdyid.trim();
+    }
+
+    public String getQylb() {
+        return qylb;
+    }
+
+    public void setQylb(String qylb) {
+        this.qylb = qylb == null ? null : qylb.trim();
+    }
+
+    public String getSsqy() {
+        return ssqy;
+    }
+
+    public void setSsqy(String ssqy) {
+        this.ssqy = ssqy == null ? null : ssqy.trim();
+    }
+
+    public String getOrgCode() {
+        return orgCode;
+    }
+
+    public void setOrgCode(String orgCode) {
+        this.orgCode = orgCode == null ? null : orgCode.trim();
+    }
+
+    public String getFzhz() {
+        return fzhz;
+    }
+
+    public void setFzhz(String fzhz) {
+        this.fzhz = fzhz == null ? null : fzhz.trim();
+    }
+
+    public String getQynbmc() {
+        return qynbmc;
+    }
+
+    public void setQynbmc(String qynbmc) {
+        this.qynbmc = qynbmc == null ? null : qynbmc.trim();
+    }
+
+    public String getJyr() {
+        return jyr;
+    }
+
+    public void setJyr(String jyr) {
+        this.jyr = jyr == null ? null : jyr.trim();
+    }
+
+    public String getWxhwm() {
+        return wxhwm;
+    }
+
+    public void setWxhwm(String wxhwm) {
+        this.wxhwm = wxhwm == null ? null : wxhwm.trim();
+    }
+
+    public String getWxhwmBz() {
+        return wxhwmBz;
+    }
+
+    public void setWxhwmBz(String wxhwmBz) {
+        this.wxhwmBz = wxhwmBz == null ? null : wxhwmBz.trim();
+    }
+
+    public String getSzd() {
+        return szd;
+    }
+
+    public void setSzd(String szd) {
+        this.szd = szd == null ? null : szd.trim();
+    }
+}

+ 315 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/YjsbqdModel.java

@@ -0,0 +1,315 @@
+package com.xt.js.gkaq.aqsp.model;
+
+import java.util.Date;
+
+public class YjsbqdModel {
+    private String id;
+
+    private String wzid;
+
+    private String ssfl;
+
+    private String wzfl;
+
+    private String ssmc;
+
+    private Short sl;
+
+    private String ggxh;
+
+    private Short dj;
+
+    private String sccj;
+
+    private Short synx;
+
+    private Date ccrq;
+
+    private Date gmrq;
+
+    private String gldw;
+
+    private String cfcs;
+
+    private String sftb;
+
+    private String tbzt;
+
+    private String tbdyid;
+
+    private String qylb;
+
+    private String ssqy;
+
+    private String state;
+
+    private String orgCode;
+
+    private String zyfzId;
+
+    private Date yxq;
+
+    private String sldw;
+
+    private String bz;
+
+    private String gkdw;
+
+    private String szd;
+
+    private String createUser;
+
+    private Date createTime;
+
+    private String updateUser;
+
+    private Date updateTime;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    public String getWzid() {
+        return wzid;
+    }
+
+    public void setWzid(String wzid) {
+        this.wzid = wzid == null ? null : wzid.trim();
+    }
+
+    public String getSsfl() {
+        return ssfl;
+    }
+
+    public void setSsfl(String ssfl) {
+        this.ssfl = ssfl == null ? null : ssfl.trim();
+    }
+
+    public String getWzfl() {
+        return wzfl;
+    }
+
+    public void setWzfl(String wzfl) {
+        this.wzfl = wzfl == null ? null : wzfl.trim();
+    }
+
+    public String getSsmc() {
+        return ssmc;
+    }
+
+    public void setSsmc(String ssmc) {
+        this.ssmc = ssmc == null ? null : ssmc.trim();
+    }
+
+    public Short getSl() {
+        return sl;
+    }
+
+    public void setSl(Short sl) {
+        this.sl = sl;
+    }
+
+    public String getGgxh() {
+        return ggxh;
+    }
+
+    public void setGgxh(String ggxh) {
+        this.ggxh = ggxh == null ? null : ggxh.trim();
+    }
+
+    public Short getDj() {
+        return dj;
+    }
+
+    public void setDj(Short dj) {
+        this.dj = dj;
+    }
+
+    public String getSccj() {
+        return sccj;
+    }
+
+    public void setSccj(String sccj) {
+        this.sccj = sccj == null ? null : sccj.trim();
+    }
+
+    public Short getSynx() {
+        return synx;
+    }
+
+    public void setSynx(Short synx) {
+        this.synx = synx;
+    }
+
+    public Date getCcrq() {
+        return ccrq;
+    }
+
+    public void setCcrq(Date ccrq) {
+        this.ccrq = ccrq;
+    }
+
+    public Date getGmrq() {
+        return gmrq;
+    }
+
+    public void setGmrq(Date gmrq) {
+        this.gmrq = gmrq;
+    }
+
+    public String getGldw() {
+        return gldw;
+    }
+
+    public void setGldw(String gldw) {
+        this.gldw = gldw == null ? null : gldw.trim();
+    }
+
+    public String getCfcs() {
+        return cfcs;
+    }
+
+    public void setCfcs(String cfcs) {
+        this.cfcs = cfcs == null ? null : cfcs.trim();
+    }
+
+    public String getSftb() {
+        return sftb;
+    }
+
+    public void setSftb(String sftb) {
+        this.sftb = sftb == null ? null : sftb.trim();
+    }
+
+    public String getTbzt() {
+        return tbzt;
+    }
+
+    public void setTbzt(String tbzt) {
+        this.tbzt = tbzt == null ? null : tbzt.trim();
+    }
+
+    public String getTbdyid() {
+        return tbdyid;
+    }
+
+    public void setTbdyid(String tbdyid) {
+        this.tbdyid = tbdyid == null ? null : tbdyid.trim();
+    }
+
+    public String getQylb() {
+        return qylb;
+    }
+
+    public void setQylb(String qylb) {
+        this.qylb = qylb == null ? null : qylb.trim();
+    }
+
+    public String getSsqy() {
+        return ssqy;
+    }
+
+    public void setSsqy(String ssqy) {
+        this.ssqy = ssqy == null ? null : ssqy.trim();
+    }
+
+    public String getState() {
+        return state;
+    }
+
+    public void setState(String state) {
+        this.state = state == null ? null : state.trim();
+    }
+
+    public String getOrgCode() {
+        return orgCode;
+    }
+
+    public void setOrgCode(String orgCode) {
+        this.orgCode = orgCode == null ? null : orgCode.trim();
+    }
+
+    public String getZyfzId() {
+        return zyfzId;
+    }
+
+    public void setZyfzId(String zyfzId) {
+        this.zyfzId = zyfzId == null ? null : zyfzId.trim();
+    }
+
+    public Date getYxq() {
+        return yxq;
+    }
+
+    public void setYxq(Date yxq) {
+        this.yxq = yxq;
+    }
+
+    public String getSldw() {
+        return sldw;
+    }
+
+    public void setSldw(String sldw) {
+        this.sldw = sldw == null ? null : sldw.trim();
+    }
+
+    public String getBz() {
+        return bz;
+    }
+
+    public void setBz(String bz) {
+        this.bz = bz == null ? null : bz.trim();
+    }
+
+    public String getGkdw() {
+        return gkdw;
+    }
+
+    public void setGkdw(String gkdw) {
+        this.gkdw = gkdw == null ? null : gkdw.trim();
+    }
+
+    public String getSzd() {
+        return szd;
+    }
+
+    public void setSzd(String szd) {
+        this.szd = szd == null ? null : szd.trim();
+    }
+
+    public String getCreateUser() {
+        return createUser;
+    }
+
+    public void setCreateUser(String createUser) {
+        this.createUser = createUser == null ? null : createUser.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateUser() {
+        return updateUser;
+    }
+
+    public void setUpdateUser(String updateUser) {
+        this.updateUser = updateUser == null ? null : updateUser.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+}

+ 393 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/ZyfzModel.java

@@ -0,0 +1,393 @@
+package com.xt.js.gkaq.aqsp.model;
+
+import java.util.Date;
+
+import com.xt.js.gkaq.common.BaseUUIDModel;
+
+public class ZyfzModel extends BaseUUIDModel{
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1L;
+
+    private String qymc;
+
+    private String szd;
+
+    private String ssgq;
+
+    private String dz;
+
+    private String fddbr;
+
+    private String aqgljg;
+
+    private String aqfz;
+
+    private String gqgljgfzrxm;
+
+    private String gqgljgfzrzc;
+
+    private String gqgljgfzrlxdh;
+
+    private String gqgljgfzrdzyx;
+
+    private String sftb;
+
+    private String tbzt;
+
+    private Short tbdyid;
+
+    private String qylb;
+
+    private String ssqy;
+
+    private String orgCode;
+
+    private String blbh;
+
+    private String wxhwpm;
+
+    private String zycs;
+
+    private String cq;
+
+    private String zyfs;
+
+    private String whdj;
+
+    private String zywxhwpm;
+
+    private String bh;
+
+    private Date sqtbrq;
+
+    private Date fzsj;
+
+    private Date fzfzrq;
+
+    private String fzgkjyxkzh;
+
+    private String fzzycs;
+
+    private String fzcsbh;
+
+    private String fzqynbbh;
+
+    private String fzjg;
+
+    private Date yxqkssj;
+
+    private Date yxqjssj;
+
+    private String qynbbh;
+
+    private String gkjyxkz;
+
+    private String jyr;
+
+    public String getQymc() {
+        return qymc;
+    }
+
+    public void setQymc(String qymc) {
+        this.qymc = qymc == null ? null : qymc.trim();
+    }
+
+    public String getSzd() {
+        return szd;
+    }
+
+    public void setSzd(String szd) {
+        this.szd = szd == null ? null : szd.trim();
+    }
+
+    public String getSsgq() {
+        return ssgq;
+    }
+
+    public void setSsgq(String ssgq) {
+        this.ssgq = ssgq == null ? null : ssgq.trim();
+    }
+
+    public String getDz() {
+        return dz;
+    }
+
+    public void setDz(String dz) {
+        this.dz = dz == null ? null : dz.trim();
+    }
+
+    public String getFddbr() {
+        return fddbr;
+    }
+
+    public void setFddbr(String fddbr) {
+        this.fddbr = fddbr == null ? null : fddbr.trim();
+    }
+
+    public String getAqgljg() {
+        return aqgljg;
+    }
+
+    public void setAqgljg(String aqgljg) {
+        this.aqgljg = aqgljg == null ? null : aqgljg.trim();
+    }
+
+    public String getAqfz() {
+        return aqfz;
+    }
+
+    public void setAqfz(String aqfz) {
+        this.aqfz = aqfz == null ? null : aqfz.trim();
+    }
+
+    public String getGqgljgfzrxm() {
+        return gqgljgfzrxm;
+    }
+
+    public void setGqgljgfzrxm(String gqgljgfzrxm) {
+        this.gqgljgfzrxm = gqgljgfzrxm == null ? null : gqgljgfzrxm.trim();
+    }
+
+    public String getGqgljgfzrzc() {
+        return gqgljgfzrzc;
+    }
+
+    public void setGqgljgfzrzc(String gqgljgfzrzc) {
+        this.gqgljgfzrzc = gqgljgfzrzc == null ? null : gqgljgfzrzc.trim();
+    }
+
+    public String getGqgljgfzrlxdh() {
+        return gqgljgfzrlxdh;
+    }
+
+    public void setGqgljgfzrlxdh(String gqgljgfzrlxdh) {
+        this.gqgljgfzrlxdh = gqgljgfzrlxdh == null ? null : gqgljgfzrlxdh.trim();
+    }
+
+    public String getGqgljgfzrdzyx() {
+        return gqgljgfzrdzyx;
+    }
+
+    public void setGqgljgfzrdzyx(String gqgljgfzrdzyx) {
+        this.gqgljgfzrdzyx = gqgljgfzrdzyx == null ? null : gqgljgfzrdzyx.trim();
+    }
+
+    public String getSftb() {
+        return sftb;
+    }
+
+    public void setSftb(String sftb) {
+        this.sftb = sftb == null ? null : sftb.trim();
+    }
+
+    public String getTbzt() {
+        return tbzt;
+    }
+
+    public void setTbzt(String tbzt) {
+        this.tbzt = tbzt == null ? null : tbzt.trim();
+    }
+
+    public Short getTbdyid() {
+        return tbdyid;
+    }
+
+    public void setTbdyid(Short tbdyid) {
+        this.tbdyid = tbdyid;
+    }
+
+    public String getQylb() {
+        return qylb;
+    }
+
+    public void setQylb(String qylb) {
+        this.qylb = qylb == null ? null : qylb.trim();
+    }
+
+    public String getSsqy() {
+        return ssqy;
+    }
+
+    public void setSsqy(String ssqy) {
+        this.ssqy = ssqy == null ? null : ssqy.trim();
+    }
+
+    public String getOrgCode() {
+        return orgCode;
+    }
+
+    public void setOrgCode(String orgCode) {
+        this.orgCode = orgCode == null ? null : orgCode.trim();
+    }
+
+    public String getBlbh() {
+        return blbh;
+    }
+
+    public void setBlbh(String blbh) {
+        this.blbh = blbh == null ? null : blbh.trim();
+    }
+
+    public String getWxhwpm() {
+        return wxhwpm;
+    }
+
+    public void setWxhwpm(String wxhwpm) {
+        this.wxhwpm = wxhwpm == null ? null : wxhwpm.trim();
+    }
+
+    public String getZycs() {
+        return zycs;
+    }
+
+    public void setZycs(String zycs) {
+        this.zycs = zycs == null ? null : zycs.trim();
+    }
+
+    public String getCq() {
+        return cq;
+    }
+
+    public void setCq(String cq) {
+        this.cq = cq == null ? null : cq.trim();
+    }
+
+    public String getZyfs() {
+        return zyfs;
+    }
+
+    public void setZyfs(String zyfs) {
+        this.zyfs = zyfs == null ? null : zyfs.trim();
+    }
+
+    public String getWhdj() {
+        return whdj;
+    }
+
+    public void setWhdj(String whdj) {
+        this.whdj = whdj == null ? null : whdj.trim();
+    }
+
+    public String getZywxhwpm() {
+        return zywxhwpm;
+    }
+
+    public void setZywxhwpm(String zywxhwpm) {
+        this.zywxhwpm = zywxhwpm == null ? null : zywxhwpm.trim();
+    }
+
+    public String getBh() {
+        return bh;
+    }
+
+    public void setBh(String bh) {
+        this.bh = bh == null ? null : bh.trim();
+    }
+
+    public Date getSqtbrq() {
+        return sqtbrq;
+    }
+
+    public void setSqtbrq(Date sqtbrq) {
+        this.sqtbrq = sqtbrq;
+    }
+
+    public Date getFzsj() {
+        return fzsj;
+    }
+
+    public void setFzsj(Date fzsj) {
+        this.fzsj = fzsj;
+    }
+
+    public Date getFzfzrq() {
+        return fzfzrq;
+    }
+
+    public void setFzfzrq(Date fzfzrq) {
+        this.fzfzrq = fzfzrq;
+    }
+
+    public String getFzgkjyxkzh() {
+        return fzgkjyxkzh;
+    }
+
+    public void setFzgkjyxkzh(String fzgkjyxkzh) {
+        this.fzgkjyxkzh = fzgkjyxkzh == null ? null : fzgkjyxkzh.trim();
+    }
+
+    public String getFzzycs() {
+        return fzzycs;
+    }
+
+    public void setFzzycs(String fzzycs) {
+        this.fzzycs = fzzycs == null ? null : fzzycs.trim();
+    }
+
+    public String getFzcsbh() {
+        return fzcsbh;
+    }
+
+    public void setFzcsbh(String fzcsbh) {
+        this.fzcsbh = fzcsbh == null ? null : fzcsbh.trim();
+    }
+
+    public String getFzqynbbh() {
+        return fzqynbbh;
+    }
+
+    public void setFzqynbbh(String fzqynbbh) {
+        this.fzqynbbh = fzqynbbh == null ? null : fzqynbbh.trim();
+    }
+
+    public String getFzjg() {
+        return fzjg;
+    }
+
+    public void setFzjg(String fzjg) {
+        this.fzjg = fzjg == null ? null : fzjg.trim();
+    }
+
+    public Date getYxqkssj() {
+        return yxqkssj;
+    }
+
+    public void setYxqkssj(Date yxqkssj) {
+        this.yxqkssj = yxqkssj;
+    }
+
+    public Date getYxqjssj() {
+        return yxqjssj;
+    }
+
+    public void setYxqjssj(Date yxqjssj) {
+        this.yxqjssj = yxqjssj;
+    }
+
+    public String getQynbbh() {
+        return qynbbh;
+    }
+
+    public void setQynbbh(String qynbbh) {
+        this.qynbbh = qynbbh == null ? null : qynbbh.trim();
+    }
+
+    public String getGkjyxkz() {
+        return gkjyxkz;
+    }
+
+    public void setGkjyxkz(String gkjyxkz) {
+        this.gkjyxkz = gkjyxkz == null ? null : gkjyxkz.trim();
+    }
+
+    public String getJyr() {
+        return jyr;
+    }
+
+    public void setJyr(String jyr) {
+        this.jyr = jyr == null ? null : jyr.trim();
+    }
+}

+ 31 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/model/ZyfzModelDto.java

@@ -0,0 +1,31 @@
+package com.xt.js.gkaq.aqsp.model;
+
+
+public class ZyfzModelDto extends ZyfzModel{
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1L;
+    private String jyrmc;
+    private String szdmc;
+    private String ssgqmc;
+    public String getJyrmc() {
+        return jyrmc;
+    }
+    public void setJyrmc(String jyrmc) {
+        this.jyrmc = jyrmc;
+    }
+    public String getSzdmc() {
+        return szdmc;
+    }
+    public void setSzdmc(String szdmc) {
+        this.szdmc = szdmc;
+    }
+    public String getSsgqmc() {
+        return ssgqmc;
+    }
+    public void setSsgqmc(String ssgqmc) {
+        this.ssgqmc = ssgqmc;
+    }
+}

+ 18 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/WhxxService.java

@@ -0,0 +1,18 @@
+package com.xt.js.gkaq.aqsp.service;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.WhxxModel;
+import com.xt.js.gkaq.common.BaseUUIDModelService;
+
+public interface WhxxService extends BaseUUIDModelService<WhxxModel> {
+    /**
+     * ¸ù¾ÝIDÂß¼­É¾³ý¼Ç¼
+     * 
+     * @param id
+     * @return
+     */
+    int deleteLogicByID(String id);
+    
+    public List<WhxxModel> findAllByCond(WhxxModel model);
+}

+ 19 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/ZyfzsqService.java

@@ -0,0 +1,19 @@
+package com.xt.js.gkaq.aqsp.service;
+
+import java.util.List;
+
+import com.xt.js.gkaq.aqsp.model.ZyfzModel;
+import com.xt.js.gkaq.aqsp.model.ZyfzModelDto;
+import com.xt.js.gkaq.common.BaseUUIDModelService;
+
+public interface ZyfzsqService extends BaseUUIDModelService<ZyfzModel> {
+    /**
+     * ¸ù¾ÝIDÂß¼­É¾³ý¼Ç¼
+     * 
+     * @param id
+     * @return
+     */
+    int deleteLogicByID(String id);
+    
+    public List<ZyfzModelDto> findAllByCond(ZyfzModelDto model);
+}

+ 27 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/impl/WhxxServiceImpl.java

@@ -0,0 +1,27 @@
+package com.xt.js.gkaq.aqsp.service.impl;
+
+import java.util.List;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.xt.js.gkaq.aqsp.mappers.WhxxModelMapper;
+import com.xt.js.gkaq.aqsp.model.WhxxModel;
+import com.xt.js.gkaq.aqsp.service.WhxxService;
+import com.xt.js.gkaq.common.BaseMapper;
+import com.xt.js.gkaq.common.BaseUUIDModelServiceImpl;
+
+@Service
+public class WhxxServiceImpl extends BaseUUIDModelServiceImpl<WhxxModel> implements WhxxService {
+    @Autowired
+    private WhxxModelMapper mapper;
+	
+	@Override
+	protected BaseMapper<WhxxModel> getMapper() {
+		return mapper;
+	}
+
+    public List<WhxxModel> findAllByCond(WhxxModel model) {
+        return mapper.selectAllByCond(model);
+    }
+}

+ 45 - 0
gkaqv2/trunk/modules/aqsp/src/main/java/com/xt/js/gkaq/aqsp/service/impl/ZyfzsqServiceImpl.java

@@ -0,0 +1,45 @@
+package com.xt.js.gkaq.aqsp.service.impl;
+
+import java.util.List;
+
+import org.apache.shiro.SecurityUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import com.xt.js.gkaq.aqsp.mappers.ZyfzModelMapper;
+import com.xt.js.gkaq.aqsp.model.ZyfzModel;
+import com.xt.js.gkaq.aqsp.model.ZyfzModelDto;
+import com.xt.js.gkaq.aqsp.service.ZyfzsqService;
+import com.xt.js.gkaq.common.BaseMapper;
+import com.xt.js.gkaq.common.BaseUUIDModelServiceImpl;
+import com.xt.js.gkaq.common.User;
+
+@Service
+public class ZyfzsqServiceImpl extends BaseUUIDModelServiceImpl<ZyfzModel> implements ZyfzsqService {
+    @Autowired
+    private ZyfzModelMapper mapper;
+	
+	@Override
+	protected BaseMapper<ZyfzModel> getMapper() {
+		return mapper;
+	}
+
+    public List<ZyfzModelDto> findAllByCond(ZyfzModelDto model) {
+        return mapper.selectAllByCond(model);
+    }
+
+    @Transactional
+    @Override
+    public int deleteLogicByID(String id) {
+        ZyfzModel record = getMapper().selectByPrimaryKey(id);
+        if (record == null) {
+            return 0;
+        }
+ /*       record.setState(BaseUUIDModel.STATE_DELETE);
+        record.setUpdateTime(new Date());*/
+        User u = (User) SecurityUtils.getSubject().getPrincipal();
+        record.setUpdateUser(u.getLoginName());
+        return getMapper().updateByPrimaryKey(record);
+    }
+}

+ 76 - 0
gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/FzglzbModelMapper.xml

@@ -0,0 +1,76 @@
+<?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.xt.js.gkaq.aqsp.mappers.FzglzbModelMapper" >
+  <resultMap id="BaseResultMap" type="com.xt.js.gkaq.aqsp.model.FzglzbModel" >
+    <id column="ID" property="id" jdbcType="VARCHAR" />
+    <result column="FZZY_ID" property="fzzyId" jdbcType="VARCHAR" />
+    <result column="RYID" property="ryid" jdbcType="VARCHAR" />
+    <result column="ZDID" property="zdid" jdbcType="VARCHAR" />
+    <result column="SSID" property="ssid" jdbcType="VARCHAR" />
+    <result column="YAID" property="yaid" jdbcType="VARCHAR" />
+    <result column="SZD" property="szd" jdbcType="VARCHAR" />
+    <result column="STATE" property="state" jdbcType="CHAR" />
+    <result column="SFTB" property="sftb" jdbcType="CHAR" />
+    <result column="TBZT" property="tbzt" jdbcType="CHAR" />
+    <result column="TBDYID" property="tbdyid" jdbcType="VARCHAR" />
+    <result column="QYLB" property="qylb" jdbcType="CHAR" />
+    <result column="SSQY" property="ssqy" jdbcType="VARCHAR" />
+    <result column="ORG_CODE" property="orgCode" jdbcType="VARCHAR" />
+    <result column="FLAG" property="flag" jdbcType="VARCHAR" />
+    <result column="CREATE_USER" property="createUser" jdbcType="VARCHAR" />
+    <result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP" />
+    <result column="UPDATE_USER" property="updateUser" jdbcType="VARCHAR" />
+    <result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from AQ_GKWXHWZYFZBLHHZZB
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <insert id="insert" parameterType="com.xt.js.gkaq.aqsp.model.FzglzbModel" >
+    insert into AQ_GKWXHWZYFZBLHHZZB (ID, FZZY_ID, RYID, 
+      ZDID, SSID, YAID, SZD, 
+      STATE, SFTB, TBZT, TBDYID, 
+      QYLB, SSQY, ORG_CODE, FLAG, 
+      CREATE_USER, CREATE_TIME, UPDATE_USER, 
+      UPDATE_TIME)
+    values (#{id,jdbcType=VARCHAR}, #{fzzyId,jdbcType=VARCHAR}, #{ryid,jdbcType=VARCHAR}, 
+      #{zdid,jdbcType=VARCHAR}, #{ssid,jdbcType=VARCHAR}, #{yaid,jdbcType=VARCHAR}, #{szd,jdbcType=VARCHAR}, 
+      #{state,jdbcType=CHAR}, #{sftb,jdbcType=CHAR}, #{tbzt,jdbcType=CHAR}, #{tbdyid,jdbcType=VARCHAR}, 
+      #{qylb,jdbcType=CHAR}, #{ssqy,jdbcType=VARCHAR}, #{orgCode,jdbcType=VARCHAR}, #{flag,jdbcType=VARCHAR}, 
+      #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, 
+      #{updateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.aqsp.model.FzglzbModel" >
+    update AQ_GKWXHWZYFZBLHHZZB
+    set FZZY_ID = #{fzzyId,jdbcType=VARCHAR},
+      RYID = #{ryid,jdbcType=VARCHAR},
+      ZDID = #{zdid,jdbcType=VARCHAR},
+      SSID = #{ssid,jdbcType=VARCHAR},
+      YAID = #{yaid,jdbcType=VARCHAR},
+      SZD = #{szd,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=CHAR},
+      SFTB = #{sftb,jdbcType=CHAR},
+      TBZT = #{tbzt,jdbcType=CHAR},
+      TBDYID = #{tbdyid,jdbcType=VARCHAR},
+      QYLB = #{qylb,jdbcType=CHAR},
+      SSQY = #{ssqy,jdbcType=VARCHAR},
+      ORG_CODE = #{orgCode,jdbcType=VARCHAR},
+      FLAG = #{flag,jdbcType=VARCHAR},
+      CREATE_USER = #{createUser,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select ID, FZZY_ID, RYID, ZDID, SSID, YAID, SZD, STATE, SFTB, TBZT, TBDYID, QYLB, 
+    SSQY, ORG_CODE, FLAG, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_GKWXHWZYFZBLHHZZB
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectAll" resultMap="BaseResultMap" >
+    select ID, FZZY_ID, RYID, ZDID, SSID, YAID, SZD, STATE, SFTB, TBZT, TBDYID, QYLB, 
+    SSQY, ORG_CODE, FLAG, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_GKWXHWZYFZBLHHZZB
+  </select>
+</mapper>

+ 148 - 0
gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/SgyahzfoModelMapper.xml

@@ -0,0 +1,148 @@
+<?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.xt.js.gkaq.aqsp.mappers.SgyahzfoModelMapper" >
+  <resultMap id="BaseResultMap" type="com.xt.js.gkaq.aqsp.model.SgyahzfoModel" >
+    <id column="ID" property="id" jdbcType="VARCHAR" />
+    <result column="YAMC" property="yamc" jdbcType="VARCHAR" />
+    <result column="YAJB" property="yajb" jdbcType="VARCHAR" />
+    <result column="ZZDW" property="zzdw" jdbcType="VARCHAR" />
+    <result column="ZDSJ" property="zdsj" jdbcType="TIMESTAMP" />
+    <result column="XDSJ" property="xdsj" jdbcType="TIMESTAMP" />
+    <result column="YAGS" property="yags" jdbcType="VARCHAR" />
+    <result column="STATE" property="state" jdbcType="CHAR" />
+    <result column="SFTB" property="sftb" jdbcType="CHAR" />
+    <result column="TBZT" property="tbzt" jdbcType="CHAR" />
+    <result column="TBDYID" property="tbdyid" jdbcType="VARCHAR" />
+    <result column="QYLB" property="qylb" jdbcType="CHAR" />
+    <result column="SSQY" property="ssqy" jdbcType="VARCHAR" />
+    <result column="GQ" property="gq" jdbcType="VARCHAR" />
+    <result column="SZD" property="szd" jdbcType="VARCHAR" />
+    <result column="SFXD" property="sfxd" jdbcType="CHAR" />
+    <result column="SFBA" property="sfba" jdbcType="CHAR" />
+    <result column="SFPX" property="sfpx" jdbcType="CHAR" />
+    <result column="SFPXJL" property="sfpxjl" jdbcType="CHAR" />
+    <result column="SFYL" property="sfyl" jdbcType="CHAR" />
+    <result column="SFYLJL" property="sfyljl" jdbcType="CHAR" />
+    <result column="ORG_CODE" property="orgCode" jdbcType="VARCHAR" />
+    <result column="WH" property="wh" jdbcType="VARCHAR" />
+    <result column="ZYFZ_ID" property="zyfzId" jdbcType="VARCHAR" />
+    <result column="QYMC" property="qymc" jdbcType="VARCHAR" />
+    <result column="FBSJ" property="fbsj" jdbcType="TIMESTAMP" />
+    <result column="TBR" property="tbr" jdbcType="VARCHAR" />
+    <result column="TBRLXDH" property="tbrlxdh" jdbcType="VARCHAR" />
+    <result column="GKDW" property="gkdw" jdbcType="VARCHAR" />
+    <result column="DWADDRESS" property="dwaddress" jdbcType="VARCHAR" />
+    <result column="JJTYPE" property="jjtype" jdbcType="VARCHAR" />
+    <result column="CYRYRS" property="cyryrs" jdbcType="VARCHAR" />
+    <result column="YZBM" property="yzbm" jdbcType="VARCHAR" />
+    <result column="ZCZJ" property="zczj" jdbcType="DECIMAL" />
+    <result column="ZYFZR" property="zyfzr" jdbcType="VARCHAR" />
+    <result column="DH" property="dh" jdbcType="VARCHAR" />
+    <result column="DZEMAIL" property="dzemail" jdbcType="VARCHAR" />
+    <result column="BZDATE" property="bzdate" jdbcType="TIMESTAMP" />
+    <result column="VERSIONNO" property="versionno" jdbcType="VARCHAR" />
+    <result column="FAX" property="fax" jdbcType="VARCHAR" />
+    <result column="CYRY" property="cyry" jdbcType="VARCHAR" />
+    <result column="CREATE_USER" property="createUser" jdbcType="VARCHAR" />
+    <result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP" />
+    <result column="UPDATE_USER" property="updateUser" jdbcType="VARCHAR" />
+    <result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from AQ_YJYA
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <insert id="insert" parameterType="com.xt.js.gkaq.aqsp.model.SgyahzfoModel" >
+    insert into AQ_YJYA (ID, YAMC, YAJB, 
+      ZZDW, ZDSJ, XDSJ, 
+      YAGS, STATE, SFTB, TBZT, 
+      TBDYID, QYLB, SSQY, GQ, 
+      SZD, SFXD, SFBA, SFPX, 
+      SFPXJL, SFYL, SFYLJL, ORG_CODE, 
+      WH, ZYFZ_ID, QYMC, FBSJ, 
+      TBR, TBRLXDH, GKDW, 
+      DWADDRESS, JJTYPE, CYRYRS, 
+      YZBM, ZCZJ, ZYFZR, 
+      DH, DZEMAIL, BZDATE, 
+      VERSIONNO, FAX, CYRY, 
+      CREATE_USER, CREATE_TIME, UPDATE_USER, 
+      UPDATE_TIME)
+    values (#{id,jdbcType=VARCHAR}, #{yamc,jdbcType=VARCHAR}, #{yajb,jdbcType=VARCHAR}, 
+      #{zzdw,jdbcType=VARCHAR}, #{zdsj,jdbcType=TIMESTAMP}, #{xdsj,jdbcType=TIMESTAMP}, 
+      #{yags,jdbcType=VARCHAR}, #{state,jdbcType=CHAR}, #{sftb,jdbcType=CHAR}, #{tbzt,jdbcType=CHAR}, 
+      #{tbdyid,jdbcType=VARCHAR}, #{qylb,jdbcType=CHAR}, #{ssqy,jdbcType=VARCHAR}, #{gq,jdbcType=VARCHAR}, 
+      #{szd,jdbcType=VARCHAR}, #{sfxd,jdbcType=CHAR}, #{sfba,jdbcType=CHAR}, #{sfpx,jdbcType=CHAR}, 
+      #{sfpxjl,jdbcType=CHAR}, #{sfyl,jdbcType=CHAR}, #{sfyljl,jdbcType=CHAR}, #{orgCode,jdbcType=VARCHAR}, 
+      #{wh,jdbcType=VARCHAR}, #{zyfzId,jdbcType=VARCHAR}, #{qymc,jdbcType=VARCHAR}, #{fbsj,jdbcType=TIMESTAMP}, 
+      #{tbr,jdbcType=VARCHAR}, #{tbrlxdh,jdbcType=VARCHAR}, #{gkdw,jdbcType=VARCHAR}, 
+      #{dwaddress,jdbcType=VARCHAR}, #{jjtype,jdbcType=VARCHAR}, #{cyryrs,jdbcType=VARCHAR}, 
+      #{yzbm,jdbcType=VARCHAR}, #{zczj,jdbcType=DECIMAL}, #{zyfzr,jdbcType=VARCHAR}, 
+      #{dh,jdbcType=VARCHAR}, #{dzemail,jdbcType=VARCHAR}, #{bzdate,jdbcType=TIMESTAMP}, 
+      #{versionno,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{cyry,jdbcType=VARCHAR}, 
+      #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, 
+      #{updateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.aqsp.model.SgyahzfoModel" >
+    update AQ_YJYA
+    set YAMC = #{yamc,jdbcType=VARCHAR},
+      YAJB = #{yajb,jdbcType=VARCHAR},
+      ZZDW = #{zzdw,jdbcType=VARCHAR},
+      ZDSJ = #{zdsj,jdbcType=TIMESTAMP},
+      XDSJ = #{xdsj,jdbcType=TIMESTAMP},
+      YAGS = #{yags,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=CHAR},
+      SFTB = #{sftb,jdbcType=CHAR},
+      TBZT = #{tbzt,jdbcType=CHAR},
+      TBDYID = #{tbdyid,jdbcType=VARCHAR},
+      QYLB = #{qylb,jdbcType=CHAR},
+      SSQY = #{ssqy,jdbcType=VARCHAR},
+      GQ = #{gq,jdbcType=VARCHAR},
+      SZD = #{szd,jdbcType=VARCHAR},
+      SFXD = #{sfxd,jdbcType=CHAR},
+      SFBA = #{sfba,jdbcType=CHAR},
+      SFPX = #{sfpx,jdbcType=CHAR},
+      SFPXJL = #{sfpxjl,jdbcType=CHAR},
+      SFYL = #{sfyl,jdbcType=CHAR},
+      SFYLJL = #{sfyljl,jdbcType=CHAR},
+      ORG_CODE = #{orgCode,jdbcType=VARCHAR},
+      WH = #{wh,jdbcType=VARCHAR},
+      ZYFZ_ID = #{zyfzId,jdbcType=VARCHAR},
+      QYMC = #{qymc,jdbcType=VARCHAR},
+      FBSJ = #{fbsj,jdbcType=TIMESTAMP},
+      TBR = #{tbr,jdbcType=VARCHAR},
+      TBRLXDH = #{tbrlxdh,jdbcType=VARCHAR},
+      GKDW = #{gkdw,jdbcType=VARCHAR},
+      DWADDRESS = #{dwaddress,jdbcType=VARCHAR},
+      JJTYPE = #{jjtype,jdbcType=VARCHAR},
+      CYRYRS = #{cyryrs,jdbcType=VARCHAR},
+      YZBM = #{yzbm,jdbcType=VARCHAR},
+      ZCZJ = #{zczj,jdbcType=DECIMAL},
+      ZYFZR = #{zyfzr,jdbcType=VARCHAR},
+      DH = #{dh,jdbcType=VARCHAR},
+      DZEMAIL = #{dzemail,jdbcType=VARCHAR},
+      BZDATE = #{bzdate,jdbcType=TIMESTAMP},
+      VERSIONNO = #{versionno,jdbcType=VARCHAR},
+      FAX = #{fax,jdbcType=VARCHAR},
+      CYRY = #{cyry,jdbcType=VARCHAR},
+      CREATE_USER = #{createUser,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select ID, YAMC, YAJB, ZZDW, ZDSJ, XDSJ, YAGS, STATE, SFTB, TBZT, TBDYID, QYLB, SSQY, 
+    GQ, SZD, SFXD, SFBA, SFPX, SFPXJL, SFYL, SFYLJL, ORG_CODE, WH, ZYFZ_ID, QYMC, FBSJ, 
+    TBR, TBRLXDH, GKDW, DWADDRESS, JJTYPE, CYRYRS, YZBM, ZCZJ, ZYFZR, DH, DZEMAIL, BZDATE, 
+    VERSIONNO, FAX, CYRY, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_YJYA
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectAll" resultMap="BaseResultMap" >
+    select ID, YAMC, YAJB, ZZDW, ZDSJ, XDSJ, YAGS, STATE, SFTB, TBZT, TBDYID, QYLB, SSQY, 
+    GQ, SZD, SFXD, SFBA, SFPX, SFPXJL, SFYL, SFYLJL, ORG_CODE, WH, ZYFZ_ID, QYMC, FBSJ, 
+    TBR, TBRLXDH, GKDW, DWADDRESS, JJTYPE, CYRYRS, YZBM, ZCZJ, ZYFZR, DH, DZEMAIL, BZDATE, 
+    VERSIONNO, FAX, CYRY, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_YJYA
+  </select>
+</mapper>

+ 99 - 0
gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/WhxxModelMapper.xml

@@ -0,0 +1,99 @@
+<?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.xt.js.gkaq.aqsp.mappers.WhxxModelMapper" >
+  <resultMap id="BaseResultMap" type="com.xt.js.gkaq.aqsp.model.WhxxModel" >
+    <id column="ID" property="id" jdbcType="VARCHAR" />
+    <result column="ZYCS" property="zycs" jdbcType="VARCHAR" />
+    <result column="FZCSBH" property="fzcsbh" jdbcType="VARCHAR" />
+    <result column="QYNBBH" property="qynbbh" jdbcType="VARCHAR" />
+    <result column="FZZY_ID" property="fzzyId" jdbcType="VARCHAR" />
+    <result column="STATE" property="state" jdbcType="CHAR" />
+    <result column="SFTB" property="sftb" jdbcType="CHAR" />
+    <result column="TBZT" property="tbzt" jdbcType="CHAR" />
+    <result column="TBDYID" property="tbdyid" jdbcType="VARCHAR" />
+    <result column="QYLB" property="qylb" jdbcType="CHAR" />
+    <result column="SSQY" property="ssqy" jdbcType="VARCHAR" />
+    <result column="ORG_CODE" property="orgCode" jdbcType="VARCHAR" />
+    <result column="FZHZ" property="fzhz" jdbcType="VARCHAR" />
+    <result column="QYNBMC" property="qynbmc" jdbcType="VARCHAR" />
+    <result column="JYR" property="jyr" jdbcType="VARCHAR" />
+    <result column="WXHWM" property="wxhwm" jdbcType="VARCHAR" />
+    <result column="WXHWM_BZ" property="wxhwmBz" jdbcType="VARCHAR" />
+    <result column="SZD" property="szd" jdbcType="VARCHAR" />
+    <result column="CREATE_USER" property="createUser" jdbcType="VARCHAR" />
+    <result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP" />
+    <result column="UPDATE_USER" property="updateUser" jdbcType="VARCHAR" />
+    <result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from AQ_GKWXHWZYFZBL_FZ
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <insert id="insert" parameterType="com.xt.js.gkaq.aqsp.model.WhxxModel" >
+    insert into AQ_GKWXHWZYFZBL_FZ (ID, ZYCS, FZCSBH, 
+      QYNBBH, FZZY_ID, STATE, 
+      SFTB, TBZT, TBDYID, QYLB, 
+      SSQY, ORG_CODE, FZHZ, 
+      QYNBMC, JYR, WXHWM, 
+      WXHWM_BZ, SZD, CREATE_USER, 
+      CREATE_TIME, UPDATE_USER, UPDATE_TIME
+      )
+    values (#{id,jdbcType=VARCHAR}, #{zycs,jdbcType=VARCHAR}, #{fzcsbh,jdbcType=VARCHAR}, 
+      #{qynbbh,jdbcType=VARCHAR}, #{fzzyId,jdbcType=VARCHAR}, #{state,jdbcType=CHAR}, 
+      #{sftb,jdbcType=CHAR}, #{tbzt,jdbcType=CHAR}, #{tbdyid,jdbcType=VARCHAR}, #{qylb,jdbcType=CHAR}, 
+      #{ssqy,jdbcType=VARCHAR}, #{orgCode,jdbcType=VARCHAR}, #{fzhz,jdbcType=VARCHAR}, 
+      #{qynbmc,jdbcType=VARCHAR}, #{jyr,jdbcType=VARCHAR}, #{wxhwm,jdbcType=VARCHAR}, 
+      #{wxhwmBz,jdbcType=VARCHAR}, #{szd,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.aqsp.model.WhxxModel" >
+    update AQ_GKWXHWZYFZBL_FZ
+    set ZYCS = #{zycs,jdbcType=VARCHAR},
+      FZCSBH = #{fzcsbh,jdbcType=VARCHAR},
+      QYNBBH = #{qynbbh,jdbcType=VARCHAR},
+      FZZY_ID = #{fzzyId,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=CHAR},
+      SFTB = #{sftb,jdbcType=CHAR},
+      TBZT = #{tbzt,jdbcType=CHAR},
+      TBDYID = #{tbdyid,jdbcType=VARCHAR},
+      QYLB = #{qylb,jdbcType=CHAR},
+      SSQY = #{ssqy,jdbcType=VARCHAR},
+      ORG_CODE = #{orgCode,jdbcType=VARCHAR},
+      FZHZ = #{fzhz,jdbcType=VARCHAR},
+      QYNBMC = #{qynbmc,jdbcType=VARCHAR},
+      JYR = #{jyr,jdbcType=VARCHAR},
+      WXHWM = #{wxhwm,jdbcType=VARCHAR},
+      WXHWM_BZ = #{wxhwmBz,jdbcType=VARCHAR},
+      SZD = #{szd,jdbcType=VARCHAR},
+      CREATE_USER = #{createUser,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select ID, ZYCS, FZCSBH, QYNBBH, FZZY_ID, STATE, SFTB, TBZT, TBDYID, QYLB, SSQY, 
+    ORG_CODE, FZHZ, QYNBMC, JYR, WXHWM, WXHWM_BZ, SZD, CREATE_USER, CREATE_TIME, UPDATE_USER, 
+    UPDATE_TIME
+    from AQ_GKWXHWZYFZBL_FZ
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectAll" resultMap="BaseResultMap" >
+    select ID, ZYCS, FZCSBH, QYNBBH, FZZY_ID, STATE, SFTB, TBZT, TBDYID, QYLB, SSQY, 
+    ORG_CODE, FZHZ, QYNBMC, JYR, WXHWM, WXHWM_BZ, SZD, CREATE_USER, CREATE_TIME, UPDATE_USER, 
+    UPDATE_TIME
+    from AQ_GKWXHWZYFZBL_FZ
+  </select>
+  <select id="selectAllByCond" resultMap="BaseResultMap" parameterType="com.xt.js.gkaq.aqsp.model.ZyfzModel" >
+		select ID, ZYCS, FZCSBH, QYNBBH, FZZY_ID, STATE, SFTB, TBZT, TBDYID, QYLB, SSQY, 
+	    ORG_CODE, FZHZ, QYNBMC, JYR, WXHWM, WXHWM_BZ, SZD, CREATE_USER, CREATE_TIME, UPDATE_USER, 
+	    UPDATE_TIME
+	    from AQ_GKWXHWZYFZBL_FZ
+    	<where>
+		    <if test="fzzyId != null and fzzyId != ''">
+		        and FZZY_ID = #{fzzyId,jdbcType=VARCHAR}
+		    </if>
+    	</where>
+  	</select>
+</mapper>

+ 110 - 0
gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/YjsbqdModelMapper.xml

@@ -0,0 +1,110 @@
+<?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.xt.js.gkaq.aqsp.mappers.YjsbqdModelMapper" >
+  <resultMap id="BaseResultMap" type="com.xt.js.gkaq.aqsp.model.YjsbqdModel" >
+    <id column="ID" property="id" jdbcType="VARCHAR" />
+    <result column="WZID" property="wzid" jdbcType="VARCHAR" />
+    <result column="SSFL" property="ssfl" jdbcType="VARCHAR" />
+    <result column="WZFL" property="wzfl" jdbcType="VARCHAR" />
+    <result column="SSMC" property="ssmc" jdbcType="VARCHAR" />
+    <result column="SL" property="sl" jdbcType="DECIMAL" />
+    <result column="GGXH" property="ggxh" jdbcType="VARCHAR" />
+    <result column="DJ" property="dj" jdbcType="DECIMAL" />
+    <result column="SCCJ" property="sccj" jdbcType="VARCHAR" />
+    <result column="SYNX" property="synx" jdbcType="DECIMAL" />
+    <result column="CCRQ" property="ccrq" jdbcType="TIMESTAMP" />
+    <result column="GMRQ" property="gmrq" jdbcType="TIMESTAMP" />
+    <result column="GLDW" property="gldw" jdbcType="VARCHAR" />
+    <result column="CFCS" property="cfcs" jdbcType="VARCHAR" />
+    <result column="SFTB" property="sftb" jdbcType="CHAR" />
+    <result column="TBZT" property="tbzt" jdbcType="CHAR" />
+    <result column="TBDYID" property="tbdyid" jdbcType="VARCHAR" />
+    <result column="QYLB" property="qylb" jdbcType="CHAR" />
+    <result column="SSQY" property="ssqy" jdbcType="VARCHAR" />
+    <result column="STATE" property="state" jdbcType="CHAR" />
+    <result column="ORG_CODE" property="orgCode" jdbcType="VARCHAR" />
+    <result column="ZYFZ_ID" property="zyfzId" jdbcType="VARCHAR" />
+    <result column="YXQ" property="yxq" jdbcType="TIMESTAMP" />
+    <result column="SLDW" property="sldw" jdbcType="VARCHAR" />
+    <result column="BZ" property="bz" jdbcType="VARCHAR" />
+    <result column="GKDW" property="gkdw" jdbcType="VARCHAR" />
+    <result column="SZD" property="szd" jdbcType="VARCHAR" />
+    <result column="CREATE_USER" property="createUser" jdbcType="VARCHAR" />
+    <result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP" />
+    <result column="UPDATE_USER" property="updateUser" jdbcType="VARCHAR" />
+    <result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from AQ_YJWZ_FLXX
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <insert id="insert" parameterType="com.xt.js.gkaq.aqsp.model.YjsbqdModel" >
+    insert into AQ_YJWZ_FLXX (ID, WZID, SSFL, 
+      WZFL, SSMC, SL, GGXH, 
+      DJ, SCCJ, SYNX, CCRQ, 
+      GMRQ, GLDW, CFCS, 
+      SFTB, TBZT, TBDYID, QYLB, 
+      SSQY, STATE, ORG_CODE, 
+      ZYFZ_ID, YXQ, SLDW, 
+      BZ, GKDW, SZD, CREATE_USER, 
+      CREATE_TIME, UPDATE_USER, UPDATE_TIME
+      )
+    values (#{id,jdbcType=VARCHAR}, #{wzid,jdbcType=VARCHAR}, #{ssfl,jdbcType=VARCHAR}, 
+      #{wzfl,jdbcType=VARCHAR}, #{ssmc,jdbcType=VARCHAR}, #{sl,jdbcType=DECIMAL}, #{ggxh,jdbcType=VARCHAR}, 
+      #{dj,jdbcType=DECIMAL}, #{sccj,jdbcType=VARCHAR}, #{synx,jdbcType=DECIMAL}, #{ccrq,jdbcType=TIMESTAMP}, 
+      #{gmrq,jdbcType=TIMESTAMP}, #{gldw,jdbcType=VARCHAR}, #{cfcs,jdbcType=VARCHAR}, 
+      #{sftb,jdbcType=CHAR}, #{tbzt,jdbcType=CHAR}, #{tbdyid,jdbcType=VARCHAR}, #{qylb,jdbcType=CHAR}, 
+      #{ssqy,jdbcType=VARCHAR}, #{state,jdbcType=CHAR}, #{orgCode,jdbcType=VARCHAR}, 
+      #{zyfzId,jdbcType=VARCHAR}, #{yxq,jdbcType=TIMESTAMP}, #{sldw,jdbcType=VARCHAR}, 
+      #{bz,jdbcType=VARCHAR}, #{gkdw,jdbcType=VARCHAR}, #{szd,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.aqsp.model.YjsbqdModel" >
+    update AQ_YJWZ_FLXX
+    set WZID = #{wzid,jdbcType=VARCHAR},
+      SSFL = #{ssfl,jdbcType=VARCHAR},
+      WZFL = #{wzfl,jdbcType=VARCHAR},
+      SSMC = #{ssmc,jdbcType=VARCHAR},
+      SL = #{sl,jdbcType=DECIMAL},
+      GGXH = #{ggxh,jdbcType=VARCHAR},
+      DJ = #{dj,jdbcType=DECIMAL},
+      SCCJ = #{sccj,jdbcType=VARCHAR},
+      SYNX = #{synx,jdbcType=DECIMAL},
+      CCRQ = #{ccrq,jdbcType=TIMESTAMP},
+      GMRQ = #{gmrq,jdbcType=TIMESTAMP},
+      GLDW = #{gldw,jdbcType=VARCHAR},
+      CFCS = #{cfcs,jdbcType=VARCHAR},
+      SFTB = #{sftb,jdbcType=CHAR},
+      TBZT = #{tbzt,jdbcType=CHAR},
+      TBDYID = #{tbdyid,jdbcType=VARCHAR},
+      QYLB = #{qylb,jdbcType=CHAR},
+      SSQY = #{ssqy,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=CHAR},
+      ORG_CODE = #{orgCode,jdbcType=VARCHAR},
+      ZYFZ_ID = #{zyfzId,jdbcType=VARCHAR},
+      YXQ = #{yxq,jdbcType=TIMESTAMP},
+      SLDW = #{sldw,jdbcType=VARCHAR},
+      BZ = #{bz,jdbcType=VARCHAR},
+      GKDW = #{gkdw,jdbcType=VARCHAR},
+      SZD = #{szd,jdbcType=VARCHAR},
+      CREATE_USER = #{createUser,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select ID, WZID, SSFL, WZFL, SSMC, SL, GGXH, DJ, SCCJ, SYNX, CCRQ, GMRQ, GLDW, CFCS, 
+    SFTB, TBZT, TBDYID, QYLB, SSQY, STATE, ORG_CODE, ZYFZ_ID, YXQ, SLDW, BZ, GKDW, SZD, 
+    CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_YJWZ_FLXX
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectAll" resultMap="BaseResultMap" >
+    select ID, WZID, SSFL, WZFL, SSMC, SL, GGXH, DJ, SCCJ, SYNX, CCRQ, GMRQ, GLDW, CFCS, 
+    SFTB, TBZT, TBDYID, QYLB, SSQY, STATE, ORG_CODE, ZYFZ_ID, YXQ, SLDW, BZ, GKDW, SZD, 
+    CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME
+    from AQ_YJWZ_FLXX
+  </select>
+</mapper>

+ 173 - 0
gkaqv2/trunk/modules/aqsp/src/main/resources/com/xt/js/gkaq/aqsp/mappers/ZyfzModelMapper.xml

@@ -0,0 +1,173 @@
+<?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.xt.js.gkaq.aqsp.mappers.ZyfzModelMapper">
+  <resultMap id="BaseResultMap" type="com.xt.js.gkaq.aqsp.model.ZyfzModelDto">
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="QYMC" jdbcType="VARCHAR" property="qymc" />
+    <result column="SZD" jdbcType="VARCHAR" property="szd" />
+    <result column="SSGQ" jdbcType="VARCHAR" property="ssgq" />
+    <result column="DZ" jdbcType="VARCHAR" property="dz" />
+    <result column="FDDBR" jdbcType="VARCHAR" property="fddbr" />
+    <result column="AQGLJG" jdbcType="VARCHAR" property="aqgljg" />
+    <result column="AQFZ" jdbcType="VARCHAR" property="aqfz" />
+    <result column="GQGLJGFZRXM" jdbcType="VARCHAR" property="gqgljgfzrxm" />
+    <result column="GQGLJGFZRZC" jdbcType="VARCHAR" property="gqgljgfzrzc" />
+    <result column="GQGLJGFZRLXDH" jdbcType="VARCHAR" property="gqgljgfzrlxdh" />
+    <result column="GQGLJGFZRDZYX" jdbcType="VARCHAR" property="gqgljgfzrdzyx" />
+    <result column="CREATE_USER" jdbcType="VARCHAR" property="createUser" />
+    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="UPDATE_USER" jdbcType="VARCHAR" property="updateUser" />
+    <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="STATE" jdbcType="CHAR" property="state" />
+    <result column="SFTB" jdbcType="CHAR" property="sftb" />
+    <result column="TBZT" jdbcType="CHAR" property="tbzt" />
+    <result column="TBDYID" jdbcType="DECIMAL" property="tbdyid" />
+    <result column="QYLB" jdbcType="CHAR" property="qylb" />
+    <result column="SSQY" jdbcType="VARCHAR" property="ssqy" />
+    <result column="ORG_CODE" jdbcType="VARCHAR" property="orgCode" />
+    <result column="BLBH" jdbcType="VARCHAR" property="blbh" />
+    <result column="WXHWPM" jdbcType="VARCHAR" property="wxhwpm" />
+    <result column="ZYCS" jdbcType="VARCHAR" property="zycs" />
+    <result column="CQ" jdbcType="VARCHAR" property="cq" />
+    <result column="ZYFS" jdbcType="VARCHAR" property="zyfs" />
+    <result column="WHDJ" jdbcType="VARCHAR" property="whdj" />
+    <result column="ZYWXHWPM" jdbcType="VARCHAR" property="zywxhwpm" />
+    <result column="BH" jdbcType="VARCHAR" property="bh" />
+    <result column="SQTBRQ" jdbcType="TIMESTAMP" property="sqtbrq" />
+    <result column="FZSJ" jdbcType="TIMESTAMP" property="fzsj" />
+    <result column="FZFZRQ" jdbcType="TIMESTAMP" property="fzfzrq" />
+    <result column="FZGKJYXKZH" jdbcType="VARCHAR" property="fzgkjyxkzh" />
+    <result column="FZZYCS" jdbcType="VARCHAR" property="fzzycs" />
+    <result column="FZCSBH" jdbcType="VARCHAR" property="fzcsbh" />
+    <result column="FZQYNBBH" jdbcType="VARCHAR" property="fzqynbbh" />
+    <result column="FZJG" jdbcType="VARCHAR" property="fzjg" />
+    <result column="YXQKSSJ" jdbcType="TIMESTAMP" property="yxqkssj" />
+    <result column="YXQJSSJ" jdbcType="TIMESTAMP" property="yxqjssj" />
+    <result column="QYNBBH" jdbcType="VARCHAR" property="qynbbh" />
+    <result column="GKJYXKZ" jdbcType="VARCHAR" property="gkjyxkz" />
+    <result column="JYR" jdbcType="VARCHAR" property="jyr" />
+    <!--扩展展示字段-->
+    <result column="JYRMC" jdbcType="VARCHAR" property="jyrmc" />
+    <result column="SZDMC" jdbcType="VARCHAR" property="szdmc" />
+    <result column="SSGQMC" jdbcType="VARCHAR" property="ssgqmc" />
+  </resultMap>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from AQ_GKWXHWZYFZBLHHZ
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <insert id="insert" parameterType="com.xt.js.gkaq.aqsp.model.ZyfzModel">
+    insert into AQ_GKWXHWZYFZBLHHZ (ID, QYMC, SZD, 
+      SSGQ, DZ, FDDBR, AQGLJG, 
+      AQFZ, GQGLJGFZRXM, GQGLJGFZRZC, 
+      GQGLJGFZRLXDH, GQGLJGFZRDZYX, CREATE_USER, 
+      CREATE_TIME, UPDATE_USER, UPDATE_TIME, 
+      STATE, SFTB, TBZT, TBDYID, 
+      QYLB, SSQY, ORG_CODE, BLBH, 
+      WXHWPM, ZYCS, CQ, ZYFS, 
+      WHDJ, ZYWXHWPM, BH, 
+      SQTBRQ, FZSJ, FZFZRQ, 
+      FZGKJYXKZH, FZZYCS, FZCSBH, 
+      FZQYNBBH, FZJG, YXQKSSJ, 
+      YXQJSSJ, QYNBBH, GKJYXKZ, 
+      JYR)
+    values (#{id,jdbcType=VARCHAR}, #{qymc,jdbcType=VARCHAR}, #{szd,jdbcType=VARCHAR}, 
+      #{ssgq,jdbcType=VARCHAR}, #{dz,jdbcType=VARCHAR}, #{fddbr,jdbcType=VARCHAR}, #{aqgljg,jdbcType=VARCHAR}, 
+      #{aqfz,jdbcType=VARCHAR}, #{gqgljgfzrxm,jdbcType=VARCHAR}, #{gqgljgfzrzc,jdbcType=VARCHAR}, 
+      #{gqgljgfzrlxdh,jdbcType=VARCHAR}, #{gqgljgfzrdzyx,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, 
+      #{state,jdbcType=CHAR}, #{sftb,jdbcType=CHAR}, #{tbzt,jdbcType=CHAR}, #{tbdyid,jdbcType=DECIMAL}, 
+      #{qylb,jdbcType=CHAR}, #{ssqy,jdbcType=VARCHAR}, #{orgCode,jdbcType=VARCHAR}, #{blbh,jdbcType=VARCHAR}, 
+      #{wxhwpm,jdbcType=VARCHAR}, #{zycs,jdbcType=VARCHAR}, #{cq,jdbcType=VARCHAR}, #{zyfs,jdbcType=VARCHAR}, 
+      #{whdj,jdbcType=VARCHAR}, #{zywxhwpm,jdbcType=VARCHAR}, #{bh,jdbcType=VARCHAR}, 
+      #{sqtbrq,jdbcType=TIMESTAMP}, #{fzsj,jdbcType=TIMESTAMP}, #{fzfzrq,jdbcType=TIMESTAMP}, 
+      #{fzgkjyxkzh,jdbcType=VARCHAR}, #{fzzycs,jdbcType=VARCHAR}, #{fzcsbh,jdbcType=VARCHAR}, 
+      #{fzqynbbh,jdbcType=VARCHAR}, #{fzjg,jdbcType=VARCHAR}, #{yxqkssj,jdbcType=TIMESTAMP}, 
+      #{yxqjssj,jdbcType=TIMESTAMP}, #{qynbbh,jdbcType=VARCHAR}, #{gkjyxkz,jdbcType=VARCHAR}, 
+      #{jyr,jdbcType=VARCHAR})
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.aqsp.model.ZyfzModel">
+    update AQ_GKWXHWZYFZBLHHZ
+    set QYMC = #{qymc,jdbcType=VARCHAR},
+      SZD = #{szd,jdbcType=VARCHAR},
+      SSGQ = #{ssgq,jdbcType=VARCHAR},
+      DZ = #{dz,jdbcType=VARCHAR},
+      FDDBR = #{fddbr,jdbcType=VARCHAR},
+      AQGLJG = #{aqgljg,jdbcType=VARCHAR},
+      AQFZ = #{aqfz,jdbcType=VARCHAR},
+      GQGLJGFZRXM = #{gqgljgfzrxm,jdbcType=VARCHAR},
+      GQGLJGFZRZC = #{gqgljgfzrzc,jdbcType=VARCHAR},
+      GQGLJGFZRLXDH = #{gqgljgfzrlxdh,jdbcType=VARCHAR},
+      GQGLJGFZRDZYX = #{gqgljgfzrdzyx,jdbcType=VARCHAR},
+      CREATE_USER = #{createUser,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_USER = #{updateUser,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
+      STATE = #{state,jdbcType=CHAR},
+      SFTB = #{sftb,jdbcType=CHAR},
+      TBZT = #{tbzt,jdbcType=CHAR},
+      TBDYID = #{tbdyid,jdbcType=DECIMAL},
+      QYLB = #{qylb,jdbcType=CHAR},
+      SSQY = #{ssqy,jdbcType=VARCHAR},
+      ORG_CODE = #{orgCode,jdbcType=VARCHAR},
+      BLBH = #{blbh,jdbcType=VARCHAR},
+      WXHWPM = #{wxhwpm,jdbcType=VARCHAR},
+      ZYCS = #{zycs,jdbcType=VARCHAR},
+      CQ = #{cq,jdbcType=VARCHAR},
+      ZYFS = #{zyfs,jdbcType=VARCHAR},
+      WHDJ = #{whdj,jdbcType=VARCHAR},
+      ZYWXHWPM = #{zywxhwpm,jdbcType=VARCHAR},
+      BH = #{bh,jdbcType=VARCHAR},
+      SQTBRQ = #{sqtbrq,jdbcType=TIMESTAMP},
+      FZSJ = #{fzsj,jdbcType=TIMESTAMP},
+      FZFZRQ = #{fzfzrq,jdbcType=TIMESTAMP},
+      FZGKJYXKZH = #{fzgkjyxkzh,jdbcType=VARCHAR},
+      FZZYCS = #{fzzycs,jdbcType=VARCHAR},
+      FZCSBH = #{fzcsbh,jdbcType=VARCHAR},
+      FZQYNBBH = #{fzqynbbh,jdbcType=VARCHAR},
+      FZJG = #{fzjg,jdbcType=VARCHAR},
+      YXQKSSJ = #{yxqkssj,jdbcType=TIMESTAMP},
+      YXQJSSJ = #{yxqjssj,jdbcType=TIMESTAMP},
+      QYNBBH = #{qynbbh,jdbcType=VARCHAR},
+      GKJYXKZ = #{gkjyxkz,jdbcType=VARCHAR},
+      JYR = #{jyr,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    select ID, QYMC, SZD, SSGQ, DZ, FDDBR, AQGLJG, AQFZ, GQGLJGFZRXM, GQGLJGFZRZC, GQGLJGFZRLXDH, 
+    GQGLJGFZRDZYX, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATE, SFTB, TBZT, 
+    TBDYID, QYLB, SSQY, ORG_CODE, BLBH, WXHWPM, ZYCS, CQ, ZYFS, WHDJ, ZYWXHWPM, BH, SQTBRQ, 
+    FZSJ, FZFZRQ, FZGKJYXKZH, FZZYCS, FZCSBH, FZQYNBBH, FZJG, YXQKSSJ, YXQJSSJ, QYNBBH, 
+    GKJYXKZ, JYR
+    from AQ_GKWXHWZYFZBLHHZ
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectAll" resultMap="BaseResultMap">
+    select ID, QYMC, SZD, SSGQ, DZ, FDDBR, AQGLJG, AQFZ, GQGLJGFZRXM, GQGLJGFZRZC, GQGLJGFZRLXDH, 
+    GQGLJGFZRDZYX, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATE, SFTB, TBZT, 
+    TBDYID, QYLB, SSQY, ORG_CODE, BLBH, WXHWPM, ZYCS, CQ, ZYFS, WHDJ, ZYWXHWPM, BH, SQTBRQ, 
+    FZSJ, FZFZRQ, FZGKJYXKZH, FZZYCS, FZCSBH, FZQYNBBH, FZJG, YXQKSSJ, YXQJSSJ, QYNBBH, 
+    GKJYXKZ, JYR
+    from AQ_GKWXHWZYFZBLHHZ
+  </select>
+  <select id="selectAllByCond" resultMap="BaseResultMap" parameterType="com.xt.js.gkaq.aqsp.model.ZyfzModelDto" >
+		select ID, QYMC, SZD, SSGQ, DZ, FDDBR, AQGLJG, AQFZ, GQGLJGFZRXM, GQGLJGFZRZC, GQGLJGFZRLXDH, 
+	    GQGLJGFZRDZYX, CREATE_USER, CREATE_TIME, UPDATE_USER, UPDATE_TIME, STATE, SFTB, TBZT, 
+	    TBDYID, QYLB, SSQY, ORG_CODE, BLBH, WXHWPM, ZYCS, CQ, ZYFS, WHDJ, ZYWXHWPM, BH, SQTBRQ, 
+	    FZSJ, FZFZRQ, FZGKJYXKZH, FZZYCS, FZCSBH, FZQYNBBH, FZJG, YXQKSSJ, YXQJSSJ, QYNBBH, 
+	    GKJYXKZ, JYR
+	    from AQ_GKWXHWZYFZBLHHZ fz
+    	<where>
+		    <if test="jyrmc != null and jyrmc != ''">
+		        and exists(select 1 from AQ_DWXX_JYRJCXX jyr where 
+		        	jyr.gkjyr like #{jyrmc,jdbcType=VARCHAR} and fz.JYR = jyr.ID)
+		    </if>
+		    <if test="szd != null and szd != ''">
+		        and szd = #{szd,jdbcType=VARCHAR}
+		    </if>
+		    <if test="ssgq != null and ssgq != ''">
+		        and ssgq = #{ssgq,jdbcType=VARCHAR}
+		    </if>
+    	</where>
+    	order by ID desc
+  	</select>
+</mapper>

+ 4 - 26
gkaqv2/trunk/modules/aqsp/src/main/resources/generatorConfig.xml

@@ -12,40 +12,18 @@
 		<javaTypeResolver>
 			<property name="forceBigDecimals" value="false" />
 		</javaTypeResolver>
-		<javaModelGenerator targetPackage="com.xt.js.gkaq.frame.model" targetProject="src/main/java">
+		<javaModelGenerator targetPackage="com.xt.js.gkaq.aqsp.model" targetProject="src/main/java">
 			<property name="enableSubPackages" value="true" />
 			<property name="trimStrings" value="true" />
 		</javaModelGenerator>
-		<sqlMapGenerator targetPackage="com.xt.js.gkaq.frame.mappers" targetProject="src/main/resources">
+		<sqlMapGenerator targetPackage="com.xt.js.gkaq.aqsp.mappers" targetProject="src/main/resources">
 			<property name="enableSubPackages" value="true" />
 		</sqlMapGenerator>
 		<javaClientGenerator type="XMLMAPPER"
-			targetPackage="com.xt.js.gkaq.frame.mappers" targetProject="src/main/java">
+			targetPackage="com.xt.js.gkaq.aqsp.mappers" targetProject="src/main/java">
 			<property name="enableSubPackages" value="true" />
 		</javaClientGenerator>
-		<!-- <table tableName="AQ_BASIC_FRAME_USER" domainObjectName="UserModel"></table> -->
-		<!-- <table tableName="AQ_BASIC_FRAME_ROLE" domainObjectName="RoleModel"></table>
-		<table tableName="AQ_BASIC_FRAME_ORG" domainObjectName="OrgModel">
-			<columnOverride column="CREATE_TIME" jdbcType="TIMESTAMP"/>  
-			<columnOverride column="UPDATE_TIME" jdbcType="TIMESTAMP"/>  
+		<table tableName="AQ_GKWXHWZYFZBL_FZ" domainObjectName="WhxxModel">
 		</table>
-		 -->
-		<!-- 
-		<table tableName="AQ_BASIC_FRAME_GROUP" domainObjectName="GroupModel">
-			<columnOverride column="CREATE_TIME" jdbcType="TIMESTAMP"/>  
-			<columnOverride column="UPDATE_TIME" jdbcType="TIMESTAMP"/>  
-		</table>
-		 -->
-		<!--  
-		<table tableName="AQ_BASIC_FRAME_USER_GROUP" domainObjectName="UserGroupModel">
-			<columnOverride column="CREATE_TIME" jdbcType="TIMESTAMP"/>  
-			<columnOverride column="UPDATE_TIME" jdbcType="TIMESTAMP"/>  
-		</table>
-		
-		<table tableName="AQ_BASIC_FRAME_PARAM" domainObjectName="ParamModel">
-			<columnOverride column="CREATE_TIME" jdbcType="TIMESTAMP"/>  
-			<columnOverride column="UPDATE_TIME" jdbcType="TIMESTAMP"/> 
-		</table>
-		  -->
 	</context>
 </generatorConfiguration>