Merge remote-tracking branch 'origin/develop' into develop

develop
Angel 12 months ago
commit 290561b8ec

@ -1,11 +1,12 @@
#实有地址接入处理开关
#ʵ<EFBFBD>е<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
sydzSwitch=false
#单次查询数据量
#<EFBFBD><EFBFBD><EFBFBD>β<EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
oncesCounts=10000
syfwSwitch=false
syrkSwitch=false
jksbSwitch=true
syrkSwitch=true
jksbSwitch=false
cjxxSwitch=false

@ -0,0 +1,297 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
/**
*
* @TableName jcj_cjxx_view
*/
@TableName(value ="jcj_cjxx_view")
@Data
public class JcjCjxxViewMysql implements Serializable {
/**
*
*/
private String cjbh;
private String jjbh;
private String jjdbh;
private String pjdbh;
private String fklyh;
private String cjlb;
private String cjsj;
private String ddxcsj;
private String cjxzqh;
private String cjjlx;
private String cjmlph;
private String cjmphz;
private String cjxz;
private String sfcs;
private String fsyy;
private String tqqk;
private String jqsx;
private String cjr;
private String cjrhzxs;
private String cjrlxfs;
private String sfxq;
private String sfsjsx;
private String sfsjxx;
private String cljgnr;
private String bccljg;
private String ssxxqk;
private String cjfksj;
private String spsj;
private String zbld;
private String zbldxm;
private String ldclsj;
private String cjjg;
private String cjysjsdw;
private String cjysjsr;
private String cjysjssj;
private String cdjl;
private String cdjdc;
private String cdcz;
private String jjfns;
private String jjets;
private String jjrzs;
private String jzqz;
private String jzsy;
private String rysss;
private String rysws;
private String lzscrs;
private String phxxaj;
private String phxsaj;
private String phzaaj;
private String tprf;
private String zhzacy;
private String zjjjss;
private String whss;
private String ajslr;
private String ajsldw;
private String glajbh;
private String glajzt;
private String gisX;
private String gisY;
private String djdw;
private String djr;
/**
*
*/
private String djsj;
/**
*
*/
private String xgr;
/**
*
*/
private String xgsj;
/**
*
*/
private String xgdw;
/**
*
*/
private String djrxm;
/**
*
*/
private String djdwmc;
/**
*
*/
private String xgrxm;
/**
*
*/
private String xgdwmc;
/**
*
*/
private String cjdw;
/**
*
*/
private String cjdwmc;
/**
*
*/
private String cjxxdd;
/**
*
*/
private String zblddw;
/**
*
*/
private String zblddwmc;
/**
*
*/
private String spxgsj;
/**
*
*/
private String yzb;
/**
*
*/
private String xzb;
/**
*
*/
private String bzsj;
/**
*
*/
private String bzdw;
/**
*
*/
private String bzr;
/**
*
*/
private String bzrxm;
/**
*
*/
private String bzdwmc;
/**
*
*/
private String gxsj;
/**
*
*/
private String gxrxm;
/**
*
*/
private String gxr;
/**
*
*/
private String gxdwmc;
/**
*
*/
private String gxdw;
/**
*
*/
private String cjlbmc;
/**
*
*/
private String cjxzqhmc;
/**
*
*/
private String cjjlxmc;
/**
*
*/
private String cjmphzmc;
/**
*
*/
private String sfcsmc;
/**
*
*/
private String fsyymc;
/**
*
*/
private String tqqkmc;
/**
*
*/
private String sfxqmc;
/**
*
*/
private String cjjgmc;
/**
*
*/
private String ajslrmc;
/**
*
*/
private String ajsldwmc;
/**
*
*/
private String glajztmc;
/**
*
*/
private String wsRksj;
/**
*
*/
private String wsXgsj;
/**
*
*/
private String wsYxx;
/**
*
*/
private String jqsxmc;
/**
*
*/
private String rywksj;
}

@ -0,0 +1,535 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
*
* @TableName jcj_cjxx_view
*/
@TableName(value ="jcj_cjxx_view")
@Data
public class JcjCjxxViewOracle implements Serializable {
/**
*
*/
private String cjbh;
/**
*
*/
private String jjbh;
/**
*
*/
private String jjdbh;
/**
*
*/
private String pjdbh;
/**
*
*/
private String fklyh;
/**
*
*/
private String cjlb;
/**
*
*/
private String cjsj;
/**
*
*/
private String ddxcsj;
/**
*
*/
private String cjxzqh;
/**
*
*/
private String cjjlx;
/**
*
*/
private String cjmlph;
/**
*
*/
private String cjmphz;
/**
*
*/
private String cjxz;
/**
*
*/
private String sfcs;
/**
*
*/
private String fsyy;
/**
*
*/
private String tqqk;
/**
*
*/
private String jqsx;
/**
*
*/
private String cjr;
/**
*
*/
private String cjrhzxs;
/**
*
*/
private String cjrlxfs;
/**
*
*/
private String sfxq;
/**
*
*/
private String sfsjsx;
/**
*
*/
private String sfsjxx;
/**
*
*/
private String cljgnr;
/**
*
*/
private String bccljg;
/**
*
*/
private String ssxxqk;
/**
*
*/
private String cjfksj;
/**
*
*/
private String spsj;
/**
*
*/
private String zbld;
/**
*
*/
private String zbldxm;
/**
*
*/
private String ldclsj;
/**
*
*/
private String cjjg;
/**
*
*/
private String cjysjsdw;
/**
*
*/
private String cjysjsr;
/**
*
*/
private String cjysjssj;
/**
*
*/
private String cdjl;
/**
*
*/
private String cdjdc;
/**
*
*/
private String cdcz;
/**
*
*/
private String jjfns;
/**
*
*/
private String jjets;
/**
*
*/
private String jjrzs;
/**
*
*/
private String jzqz;
/**
*
*/
private String jzsy;
/**
*
*/
private String rysss;
/**
*
*/
private String rysws;
/**
*
*/
private String lzscrs;
/**
*
*/
private String phxxaj;
/**
*
*/
private String phxsaj;
/**
*
*/
private String phzaaj;
/**
*
*/
private String tprf;
/**
*
*/
private String zhzacy;
/**
*
*/
private String zjjjss;
/**
*
*/
private String whss;
/**
*
*/
private String ajslr;
/**
*
*/
private String ajsldw;
/**
*
*/
private String glajbh;
/**
*
*/
private String glajzt;
/**
*
*/
private String gisX;
/**
*
*/
private String gisY;
/**
*
*/
private String djdw;
/**
*
*/
private String djr;
/**
*
*/
private String djsj;
/**
*
*/
private String xgr;
/**
*
*/
private String xgsj;
/**
*
*/
private String xgdw;
/**
*
*/
private String djrxm;
/**
*
*/
private String djdwmc;
/**
*
*/
private String xgrxm;
/**
*
*/
private String xgdwmc;
/**
*
*/
private String cjdw;
/**
*
*/
private String cjdwmc;
/**
*
*/
private String cjxxdd;
/**
*
*/
private String zblddw;
/**
*
*/
private String zblddwmc;
/**
*
*/
private String spxgsj;
/**
*
*/
private String yzb;
/**
*
*/
private String xzb;
/**
*
*/
private String bzsj;
/**
*
*/
private String bzdw;
/**
*
*/
private String bzr;
/**
*
*/
private String bzrxm;
/**
*
*/
private String bzdwmc;
/**
*
*/
private String gxsj;
/**
*
*/
private String gxrxm;
/**
*
*/
private String gxr;
/**
*
*/
private String gxdwmc;
/**
*
*/
private String gxdw;
/**
*
*/
private String cjlbmc;
/**
*
*/
private String cjxzqhmc;
/**
*
*/
private String cjjlxmc;
/**
*
*/
private String cjmphzmc;
/**
*
*/
private String sfcsmc;
/**
*
*/
private String fsyymc;
/**
*
*/
private String tqqkmc;
/**
*
*/
private String sfxqmc;
/**
*
*/
private String cjjgmc;
/**
*
*/
private String ajslrmc;
/**
*
*/
private String ajsldwmc;
/**
*
*/
private String glajztmc;
/**
*
*/
private String wsRksj;
/**
*
*/
private String wsXgsj;
/**
*
*/
private String wsYxx;
/**
*
*/
private String jqsxmc;
/**
*
*/
private String rywksj;
}

@ -0,0 +1,25 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import org.apache.ibatis.annotations.Mapper;
/**
* @author 28758
* @description jcj_cjxx_viewMapper
* @createDate 2023-11-29 09:28:09
* @Entity com.ssf.mysqloracletest.domain.JcjCjxxView
*/
@Mapper
public interface JcjCjxxViewMysqlMapper extends BaseMapper<JcjCjxxViewMysql> {
public JcjCjxxViewMysql selectCjxxById(String id);
public int insertCjxx(JcjCjxxViewMysql bean);
public int updateCjxxById(JcjCjxxViewMysql bean);
}

@ -0,0 +1,27 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewMapper
* @createDate 2023-11-29 09:28:09
* @Entity com.ssf.mysqloracletest.domain.JcjCjxxView
*
*/
@Mapper
public interface JcjCjxxViewOracleMapper extends BaseMapper<JcjCjxxViewOracle> {
public int countCjxx();
public List<JcjCjxxViewOracle> getCjxxList(Map map);
}

@ -0,0 +1,19 @@
package com.ssf.mysqloracletest.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
public interface JcjCjxxViewMysqlService extends IService<JcjCjxxViewMysql> {
public JcjCjxxViewMysql selectCjxxById(String id);
public int insertCjxx(JcjCjxxViewMysql tjks);
public int updateCjxxById(JcjCjxxViewMysql tjks);
}

@ -0,0 +1,18 @@
package com.ssf.mysqloracletest.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
public interface JcjCjxxViewOracleService extends IService<JcjCjxxViewOracle> {
public int countCjxx();
public List<JcjCjxxViewOracle> getCjxxList(Map map);
}

@ -0,0 +1,42 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.mapper.JcjCjxxViewMysqlMapper;
import com.ssf.mysqloracletest.service.JcjCjxxViewMysqlService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
@Service
@DS("mysql")
@RequiredArgsConstructor
public class JcjCjxxViewMysqlServiceImpl extends ServiceImpl<JcjCjxxViewMysqlMapper, JcjCjxxViewMysql>
implements JcjCjxxViewMysqlService {
private final JcjCjxxViewMysqlMapper jcjCjxxViewMysqlMapper;
@Override
public JcjCjxxViewMysql selectCjxxById(String id) {
return jcjCjxxViewMysqlMapper.selectCjxxById(id);
}
@Override
public int insertCjxx(JcjCjxxViewMysql tjks) {
return jcjCjxxViewMysqlMapper.insertCjxx(tjks);
}
@Override
public int updateCjxxById(JcjCjxxViewMysql tjks) {
return jcjCjxxViewMysqlMapper.updateCjxxById(tjks);
}
}

@ -0,0 +1,40 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import com.ssf.mysqloracletest.mapper.JcjCjxxViewOracleMapper;
import com.ssf.mysqloracletest.service.JcjCjxxViewOracleService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
@Service
@DS("oracleSydz")
public class JcjCjxxViewOracleServiceImpl extends ServiceImpl<JcjCjxxViewOracleMapper, JcjCjxxViewOracle>
implements JcjCjxxViewOracleService {
@Resource
private JcjCjxxViewOracleMapper oracleMapper;
@Override
public int countCjxx(){
return oracleMapper.countCjxx();
}
@Override
public List<JcjCjxxViewOracle> getCjxxList(Map map) {
return oracleMapper.getCjxxList(map);
}
}

@ -1,14 +1,8 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.TJksbglMysql;
import com.ssf.mysqloracletest.domain.TJksbglOracle;
import com.ssf.mysqloracletest.domain.VSySydzOracle;
import com.ssf.mysqloracletest.mapper.TJksbglMysqlMapper;
import com.ssf.mysqloracletest.mapper.TJksbglOracleMapper;
import com.ssf.mysqloracletest.mapper.VSySydzOracleMapper;
import com.ssf.mysqloracletest.service.TJksbglMysqlService;
import com.ssf.mysqloracletest.service.TJksbglOracleService;
import org.springframework.stereotype.Service;

@ -0,0 +1,114 @@
package com.ssf.mysqloracletest.task;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import com.ssf.mysqloracletest.service.JcjCjxxViewMysqlService;
import com.ssf.mysqloracletest.service.JcjCjxxViewOracleService;
import com.ssf.mysqloracletest.utils.ConfigParam;
import com.ssf.mysqloracletest.utils.NumKit;
import com.ssf.mysqloracletest.utils.StringKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
*
*/
@Component
public class JcjCjxxTask {
private static final Logger logger = LoggerFactory.getLogger(JcjCjxxTask.class);
@Resource
private JcjCjxxViewMysqlService cjxxMysqlService;
@Resource
private JcjCjxxViewOracleService cjxxOracleService;
final int oncesCounts = NumKit.checkInt(ConfigParam.oncesCounts) == 0 ? 1000 : NumKit.checkInt(ConfigParam.oncesCounts);
private boolean cjxxTag = false;
/**
*
* //
*/
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transcjxx() {
if (cjxxTag) {
return;
}
if (!"true".equals(ConfigParam.cjxxSwitch)) {
return;
}
try {
int countcjxx = cjxxOracleService.countCjxx();
logger.info("countcjxx:" + countcjxx);
if (countcjxx > 0) {
cjxxTag = true;
int count = countcjxx / oncesCounts;
CountDownLatch latch = new CountDownLatch(count);
ExecutorService cjxxPool = Executors.newFixedThreadPool(50);
for (int i = 0; i <= count; i++) {
Map cjxxMap = new HashMap();
cjxxMap.put("rowStart", i * oncesCounts);
cjxxMap.put("rowEnd", (i + 1) * oncesCounts);
cjxxPool.submit(() -> {
try {
List<JcjCjxxViewOracle> cjxxs = cjxxOracleService.getCjxxList(cjxxMap);
for (JcjCjxxViewOracle cjxx : cjxxs) {
JcjCjxxViewMysql sBean = new JcjCjxxViewMysql();
BeanUtils.copyProperties(cjxx, sBean);
//确定一个数据是否唯一
JcjCjxxViewMysql checkcjxx = cjxxMysqlService.selectCjxxById(cjxx.getCjbh());
if (checkcjxx == null) {
cjxxMysqlService.insertCjxx(sBean);
logger.info("cjxx-" + cjxx.getCjbh() + ":插入成功");
} else {
cjxxMysqlService.updateCjxxById(sBean);
logger.info("cjxx-" + cjxx.getCjbh() + ":更新成功");
}
}
} catch (Exception e) {
logger.info("cjxxs:" + e.getMessage());
}
latch.countDown();
});
logger.info("cjxxMap数据总量:" + countcjxx + "," + "当前处理下标:" + cjxxMap.get("rowStart") + "/" + cjxxMap.get("rowEnd"));
}
try {
// Wait for all threads to complete
latch.await();
} catch (InterruptedException e) {
e.printStackTrace();
}
// 关闭线程池
cjxxPool.shutdown();
}
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
}
}
}

@ -15,6 +15,7 @@ public class ConfigParam {
public static String syrkSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("syrkSwitch"));
public static String jksbSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("jksbSwitch"));
public static String cjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("cjxxSwitch"));
public static String JjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("JjxxSwitch"));
}

@ -0,0 +1,448 @@
<?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.ssf.mysqloracletest.mapper.JcjCjxxViewMysqlMapper">
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql">
<result property="cjbh" column="CJBH" jdbcType="VARCHAR"/>
<result property="jjbh" column="JJBH" jdbcType="VARCHAR"/>
<result property="jjdbh" column="JJDBH" jdbcType="VARCHAR"/>
<result property="pjdbh" column="PJDBH" jdbcType="VARCHAR"/>
<result property="fklyh" column="FKLYH" jdbcType="VARCHAR"/>
<result property="cjlb" column="CJLB" jdbcType="VARCHAR"/>
<result property="cjsj" column="CJSJ" jdbcType="VARCHAR"/>
<result property="ddxcsj" column="DDXCSJ" jdbcType="VARCHAR"/>
<result property="cjxzqh" column="CJXZQH" jdbcType="VARCHAR"/>
<result property="cjjlx" column="CJJLX" jdbcType="VARCHAR"/>
<result property="cjmlph" column="CJMLPH" jdbcType="VARCHAR"/>
<result property="cjmphz" column="CJMPHZ" jdbcType="VARCHAR"/>
<result property="cjxz" column="CJXZ" jdbcType="VARCHAR"/>
<result property="sfcs" column="SFCS" jdbcType="VARCHAR"/>
<result property="fsyy" column="FSYY" jdbcType="VARCHAR"/>
<result property="tqqk" column="TQQK" jdbcType="VARCHAR"/>
<result property="jqsx" column="JQSX" jdbcType="VARCHAR"/>
<result property="cjr" column="CJR" jdbcType="VARCHAR"/>
<result property="cjrhzxs" column="CJRHZXS" jdbcType="VARCHAR"/>
<result property="cjrlxfs" column="CJRLXFS" jdbcType="VARCHAR"/>
<result property="sfxq" column="SFXQ" jdbcType="VARCHAR"/>
<result property="sfsjsx" column="SFSJSX" jdbcType="VARCHAR"/>
<result property="sfsjxx" column="SFSJXX" jdbcType="VARCHAR"/>
<result property="cljgnr" column="CLJGNR" jdbcType="VARCHAR"/>
<result property="bccljg" column="BCCLJG" jdbcType="VARCHAR"/>
<result property="ssxxqk" column="SSXXQK" jdbcType="VARCHAR"/>
<result property="cjfksj" column="CJFKSJ" jdbcType="VARCHAR"/>
<result property="spsj" column="SPSJ" jdbcType="VARCHAR"/>
<result property="zbld" column="ZBLD" jdbcType="VARCHAR"/>
<result property="zbldxm" column="ZBLDXM" jdbcType="VARCHAR"/>
<result property="ldclsj" column="LDCLSJ" jdbcType="VARCHAR"/>
<result property="cjjg" column="CJJG" jdbcType="VARCHAR"/>
<result property="cjysjsdw" column="CJYSJSDW" jdbcType="VARCHAR"/>
<result property="cjysjsr" column="CJYSJSR" jdbcType="VARCHAR"/>
<result property="cjysjssj" column="CJYSJSSJ" jdbcType="VARCHAR"/>
<result property="cdjl" column="CDJL" jdbcType="VARCHAR"/>
<result property="cdjdc" column="CDJDC" jdbcType="VARCHAR"/>
<result property="cdcz" column="CDCZ" jdbcType="VARCHAR"/>
<result property="jjfns" column="JJFNS" jdbcType="VARCHAR"/>
<result property="jjets" column="JJETS" jdbcType="VARCHAR"/>
<result property="jjrzs" column="JJRZS" jdbcType="VARCHAR"/>
<result property="jzqz" column="JZQZ" jdbcType="VARCHAR"/>
<result property="jzsy" column="JZSY" jdbcType="VARCHAR"/>
<result property="rysss" column="RYSSS" jdbcType="VARCHAR"/>
<result property="rysws" column="RYSWS" jdbcType="VARCHAR"/>
<result property="lzscrs" column="LZSCRS" jdbcType="VARCHAR"/>
<result property="phxxaj" column="PHXXAJ" jdbcType="VARCHAR"/>
<result property="phxsaj" column="PHXSAJ" jdbcType="VARCHAR"/>
<result property="phzaaj" column="PHZAAJ" jdbcType="VARCHAR"/>
<result property="tprf" column="TPRF" jdbcType="VARCHAR"/>
<result property="zhzacy" column="ZHZACY" jdbcType="VARCHAR"/>
<result property="zjjjss" column="ZJJJSS" jdbcType="VARCHAR"/>
<result property="whss" column="WHSS" jdbcType="VARCHAR"/>
<result property="ajslr" column="AJSLR" jdbcType="VARCHAR"/>
<result property="ajsldw" column="AJSLDW" jdbcType="VARCHAR"/>
<result property="glajbh" column="GLAJBH" jdbcType="VARCHAR"/>
<result property="glajzt" column="GLAJZT" jdbcType="VARCHAR"/>
<result property="gisX" column="GIS_X" jdbcType="VARCHAR"/>
<result property="gisY" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="djdw" column="DJDW" jdbcType="VARCHAR"/>
<result property="djr" column="DJR" jdbcType="VARCHAR"/>
<result property="djsj" column="DJSJ" jdbcType="VARCHAR"/>
<result property="xgr" column="XGR" jdbcType="VARCHAR"/>
<result property="xgsj" column="XGSJ" jdbcType="VARCHAR"/>
<result property="xgdw" column="XGDW" jdbcType="VARCHAR"/>
<result property="djrxm" column="DJRXM" jdbcType="VARCHAR"/>
<result property="djdwmc" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="xgrxm" column="XGRXM" jdbcType="VARCHAR"/>
<result property="xgdwmc" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="cjdw" column="CJDW" jdbcType="VARCHAR"/>
<result property="cjdwmc" column="CJDWMC" jdbcType="VARCHAR"/>
<result property="cjxxdd" column="CJXXDD" jdbcType="VARCHAR"/>
<result property="zblddw" column="ZBLDDW" jdbcType="VARCHAR"/>
<result property="zblddwmc" column="ZBLDDWMC" jdbcType="VARCHAR"/>
<result property="spxgsj" column="SPXGSJ" jdbcType="VARCHAR"/>
<result property="yzb" column="YZB" jdbcType="VARCHAR"/>
<result property="xzb" column="XZB" jdbcType="VARCHAR"/>
<result property="bzsj" column="BZSJ" jdbcType="VARCHAR"/>
<result property="bzdw" column="BZDW" jdbcType="VARCHAR"/>
<result property="bzr" column="BZR" jdbcType="VARCHAR"/>
<result property="bzrxm" column="BZRXM" jdbcType="VARCHAR"/>
<result property="bzdwmc" column="BZDWMC" jdbcType="VARCHAR"/>
<result property="gxsj" column="GXSJ" jdbcType="VARCHAR"/>
<result property="gxrxm" column="GXRXM" jdbcType="VARCHAR"/>
<result property="gxr" column="GXR" jdbcType="VARCHAR"/>
<result property="gxdwmc" column="GXDWMC" jdbcType="VARCHAR"/>
<result property="gxdw" column="GXDW" jdbcType="VARCHAR"/>
<result property="cjlbmc" column="CJLBMC" jdbcType="VARCHAR"/>
<result property="cjxzqhmc" column="CJXZQHMC" jdbcType="VARCHAR"/>
<result property="cjjlxmc" column="CJJLXMC" jdbcType="VARCHAR"/>
<result property="cjmphzmc" column="CJMPHZMC" jdbcType="VARCHAR"/>
<result property="sfcsmc" column="SFCSMC" jdbcType="VARCHAR"/>
<result property="fsyymc" column="FSYYMC" jdbcType="VARCHAR"/>
<result property="tqqkmc" column="TQQKMC" jdbcType="VARCHAR"/>
<result property="sfxqmc" column="SFXQMC" jdbcType="VARCHAR"/>
<result property="cjjgmc" column="CJJGMC" jdbcType="VARCHAR"/>
<result property="ajslrmc" column="AJSLRMC" jdbcType="VARCHAR"/>
<result property="ajsldwmc" column="AJSLDWMC" jdbcType="VARCHAR"/>
<result property="glajztmc" column="GLAJZTMC" jdbcType="VARCHAR"/>
<result property="wsRksj" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="wsXgsj" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="wsYxx" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="jqsxmc" column="JQSXMC" jdbcType="VARCHAR"/>
<result property="rywksj" column="RYWKSJ" jdbcType="VARCHAR"/>
</resultMap>
<select id="selectCjxxById" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from jcj_cjxx_view
where CJBH = #{CJBH} limit 1
</select>
<insert id="insertCjxx" parameterType="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql" useGeneratedKeys="true"
keyProperty="id">
insert into jcj_cjxx_view
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">CJBH,</if>
<if test="JJBH != null and JJBH != '' ">JJBH,</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH,</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH,</if>
<if test="FKLYH != null and FKLYH != '' ">FKLYH,</if>
<if test="CJLB != null and CJLB != '' ">CJLB,</if>
<if test="CJSJ != null and CJSJ != '' ">CJSJ,</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">DDXCSJ,</if>
<if test="CJXZQH != null and CJXZQH != '' ">CJXZQH,</if>
<if test="CJJLX != null and CJJLX != '' ">CJJLX,</if>
<if test="CJMLPH != null and CJMLPH != '' ">CJMLPH,</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">CJMPHZ,</if>
<if test="CJXZ != null and CJXZ != '' ">CJXZ,</if>
<if test="SFCS != null and SFCS != '' ">SFCS,</if>
<if test="FSYY != null and FSYY != '' ">FSYY,</if>
<if test="TQQK != null and TQQK != '' ">TQQK,</if>
<if test="JQSX != null and JQSX != '' ">JQSX,</if>
<if test="CJR != null and CJR != '' ">CJR,</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">CJRHZXS,</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">CJRLXFS,</if>
<if test="SFXQ != null and SFXQ != '' ">SFXQ,</if>
<if test="SFSJSX != null and SFSJSX != '' ">SFSJSX,</if>
<if test="SFSJXX != null and SFSJXX != '' ">SFSJXX,</if>
<if test="CLJGNR != null and CLJGNR != '' ">CLJGNR,</if>
<if test="BCCLJG != null and BCCLJG != '' ">BCCLJG,</if>
<if test="SSXXQK != null and SSXXQK != '' ">SSXXQK,</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">CJFKSJ,</if>
<if test="SPSJ != null and SPSJ != '' ">SPSJ,</if>
<if test="ZBLD != null and ZBLD != '' ">ZBLD,</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">ZBLDXM,</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">LDCLSJ,</if>
<if test="CJJG != null and CJJG != '' ">CJJG,</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">CJYSJSDW,</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">CJYSJSR,</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">CJYSJSSJ,</if>
<if test="CDJL != null and CDJL != '' ">CDJL,</if>
<if test="CDJDC != null and CDJDC != '' ">CDJDC,</if>
<if test="CDCZ != null and CDCZ != '' ">CDCZ,</if>
<if test="JJFNS != null and JJFNS != '' ">JJFNS,</if>
<if test="JJETS != null and JJETS != '' ">JJETS,</if>
<if test="JJRZS != null and JJRZS != '' ">JJRZS,</if>
<if test="JZQZ != null and JZQZ != '' ">JZQZ,</if>
<if test="JZSY != null and JZSY != '' ">JZSY,</if>
<if test="RYSSS != null and RYSSS != '' ">RYSSS,</if>
<if test="RYSWS != null and RYSWS != '' ">RYSWS,</if>
<if test="LZSCRS != null and LZSCRS != '' ">LZSCRS,</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">PHXXAJ,</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">PHXSAJ,</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">PHZAAJ,</if>
<if test="TPRF != null and TPRF != '' ">TPRF,</if>
<if test="ZHZACY != null and ZHZACY != '' ">ZHZACY,</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">ZJJJSS,</if>
<if test="WHSS != null and WHSS != '' ">WHSS,</if>
<if test="AJSLR != null and AJSLR != '' ">AJSLR,</if>
<if test="AJSLDW != null and AJSLDW != '' ">AJSLDW,</if>
<if test="GLAJBH != null and GLAJBH != '' ">GLAJBH,</if>
<if test="GLAJZT != null and GLAJZT != '' ">GLAJZT,</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X,</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y,</if>
<if test="DJDW != null and DJDW != '' ">DJDW,</if>
<if test="DJR != null and DJR != '' ">DJR,</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ,</if>
<if test="XGR != null and XGR != '' ">XGR,</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ,</if>
<if test="XGDW != null and XGDW != '' ">XGDW,</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM,</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC,</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM,</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC,</if>
<if test="CJDW != null and CJDW != '' ">CJDW,</if>
<if test="CJDWMC != null and CJDWMC != '' ">CJDWMC,</if>
<if test="CJXXDD != null and CJXXDD != '' ">CJXXDD,</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">ZBLDDW,</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">ZBLDDWMC,</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">SPXGSJ,</if>
<if test="YZB != null and YZB != '' ">YZB,</if>
<if test="XZB != null and XZB != '' ">XZB,</if>
<if test="BZSJ != null and BZSJ != '' ">BZSJ,</if>
<if test="BZDW != null and BZDW != '' ">BZDW,</if>
<if test="BZR != null and BZR != '' ">BZR,</if>
<if test="BZRXM != null and BZRXM != '' ">BZRXM,</if>
<if test="BZDWMC != null and BZDWMC != '' ">BZDWMC,</if>
<if test="GXSJ != null and GXSJ != '' ">GXSJ,</if>
<if test="GXRXM != null and GXRXM != '' ">GXRXM,</if>
<if test="GXR != null and GXR != '' ">GXR,</if>
<if test="GXDWMC != null and GXDWMC != '' ">GXDWMC,</if>
<if test="GXDW != null and GXDW != '' ">GXDW,</if>
<if test="CJLBMC != null and CJLBMC != '' ">CJLBMC,</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">CJXZQHMC,</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">CJJLXMC,</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">CJMPHZMC,</if>
<if test="SFCSMC != null and SFCSMC != '' ">SFCSMC,</if>
<if test="FSYYMC != null and FSYYMC != '' ">FSYYMC,</if>
<if test="TQQKMC != null and TQQKMC != '' ">TQQKMC,</if>
<if test="SFXQMC != null and SFXQMC != '' ">SFXQMC,</if>
<if test="CJJGMC != null and CJJGMC != '' ">CJJGMC,</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">AJSLRMC,</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">AJSLDWMC,</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">GLAJZTMC,</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ,</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ,</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX,</if>
<if test="JQSXMC != null and JQSXMC != '' ">JQSXMC,</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">#{CJBH},</if>
<if test="JJBH != null and JJBH != '' ">#{JJBH},</if>
<if test="JJDBH != null and JJDBH != '' ">#{JJDBH},</if>
<if test="PJDBH != null and PJDBH != '' ">#{PJDBH},</if>
<if test="FKLYH != null and FKLYH != '' ">#{FKLYH},</if>
<if test="CJLB != null and CJLB != '' ">#{CJLB},</if>
<if test="CJSJ != null and CJSJ != '' ">#{CJSJ},</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">#{DDXCSJ},</if>
<if test="CJXZQH != null and CJXZQH != '' ">#{CJXZQH},</if>
<if test="CJJLX != null and CJJLX != '' ">#{CJJLX},</if>
<if test="CJMLPH != null and CJMLPH != '' ">#{CJMLPH},</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">#{CJMPHZ},</if>
<if test="CJXZ != null and CJXZ != '' ">#{CJXZ},</if>
<if test="SFCS != null and SFCS != '' ">#{SFCS},</if>
<if test="FSYY != null and FSYY != '' ">#{FSYY},</if>
<if test="TQQK != null and TQQK != '' ">#{TQQK},</if>
<if test="JQSX != null and JQSX != '' ">#{JQSX},</if>
<if test="CJR != null and CJR != '' ">#{CJR},</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">#{CJRHZXS},</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">#{CJRLXFS},</if>
<if test="SFXQ != null and SFXQ != '' ">#{SFXQ},</if>
<if test="SFSJSX != null and SFSJSX != '' ">#{SFSJSX},</if>
<if test="SFSJXX != null and SFSJXX != '' ">#{SFSJXX},</if>
<if test="CLJGNR != null and CLJGNR != '' ">#{CLJGNR},</if>
<if test="BCCLJG != null and BCCLJG != '' ">#{BCCLJG},</if>
<if test="SSXXQK != null and SSXXQK != '' ">#{SSXXQK},</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">#{CJFKSJ},</if>
<if test="SPSJ != null and SPSJ != '' ">#{SPSJ},</if>
<if test="ZBLD != null and ZBLD != '' ">#{ZBLD},</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">#{ZBLDXM},</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">#{LDCLSJ},</if>
<if test="CJJG != null and CJJG != '' ">#{CJJG},</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">#{CJYSJSDW},</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">#{CJYSJSR},</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">#{CJYSJSSJ},</if>
<if test="CDJL != null and CDJL != '' ">#{CDJL},</if>
<if test="CDJDC != null and CDJDC != '' ">#{CDJDC},</if>
<if test="CDCZ != null and CDCZ != '' ">#{CDCZ},</if>
<if test="JJFNS != null and JJFNS != '' ">#{JJFNS},</if>
<if test="JJETS != null and JJETS != '' ">#{JJETS},</if>
<if test="JJRZS != null and JJRZS != '' ">#{JJRZS},</if>
<if test="JZQZ != null and JZQZ != '' ">#{JZQZ},</if>
<if test="JZSY != null and JZSY != '' ">#{JZSY},</if>
<if test="RYSSS != null and RYSSS != '' ">#{RYSSS},</if>
<if test="RYSWS != null and RYSWS != '' ">#{RYSWS},</if>
<if test="LZSCRS != null and LZSCRS != '' ">#{LZSCRS},</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">#{PHXXAJ},</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">#{PHXSAJ},</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">#{PHZAAJ},</if>
<if test="TPRF != null and TPRF != '' ">#{TPRF},</if>
<if test="ZHZACY != null and ZHZACY != '' ">#{ZHZACY},</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">#{ZJJJSS},</if>
<if test="WHSS != null and WHSS != '' ">#{WHSS},</if>
<if test="AJSLR != null and AJSLR != '' ">#{AJSLR},</if>
<if test="AJSLDW != null and AJSLDW != '' ">#{AJSLDW},</if>
<if test="GLAJBH != null and GLAJBH != '' ">#{GLAJBH},</if>
<if test="GLAJZT != null and GLAJZT != '' ">#{GLAJZT},</if>
<if test="GIS_X != null and GIS_X != '' ">#{GIS_X},</if>
<if test="GIS_Y != null and GIS_Y != '' ">#{GIS_Y},</if>
<if test="DJDW != null and DJDW != '' ">#{DJDW},</if>
<if test="DJR != null and DJR != '' ">#{DJR},</if>
<if test="DJSJ != null and DJSJ != '' ">#{DJSJ},</if>
<if test="XGR != null and XGR != '' ">#{XGR},</if>
<if test="XGSJ != null and XGSJ != '' ">#{XGSJ},</if>
<if test="XGDW != null and XGDW != '' ">#{XGDW},</if>
<if test="DJRXM != null and DJRXM != '' ">#{DJRXM},</if>
<if test="DJDWMC != null and DJDWMC != '' ">#{DJDWMC},</if>
<if test="XGRXM != null and XGRXM != '' ">#{XGRXM},</if>
<if test="XGDWMC != null and XGDWMC != '' ">#{XGDWMC},</if>
<if test="CJDW != null and CJDW != '' ">#{CJDW},</if>
<if test="CJDWMC != null and CJDWMC != '' ">#{CJDWMC},</if>
<if test="CJXXDD != null and CJXXDD != '' ">#{CJXXDD},</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">#{ZBLDDW},</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">#{ZBLDDWMC},</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">#{SPXGSJ},</if>
<if test="YZB != null and YZB != '' ">#{YZB},</if>
<if test="XZB != null and XZB != '' ">#{XZB},</if>
<if test="BZSJ != null and BZSJ != '' ">#{BZSJ},</if>
<if test="BZDW != null and BZDW != '' ">#{BZDW},</if>
<if test="BZR != null and BZR != '' ">#{BZR},</if>
<if test="BZRXM != null and BZRXM != '' ">#{BZRXM},</if>
<if test="BZDWMC != null and BZDWMC != '' ">#{BZDWMC},</if>
<if test="GXSJ != null and GXSJ != '' ">#{GXSJ},</if>
<if test="GXRXM != null and GXRXM != '' ">#{GXRXM},</if>
<if test="GXR != null and GXR != '' ">#{GXR},</if>
<if test="GXDWMC != null and GXDWMC != '' ">#{GXDWMC},</if>
<if test="GXDW != null and GXDW != '' ">#{GXDW},</if>
<if test="CJLBMC != null and CJLBMC != '' ">#{CJLBMC},</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">#{CJXZQHMC},</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">#{CJJLXMC},</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">#{CJMPHZMC},</if>
<if test="SFCSMC != null and SFCSMC != '' ">#{SFCSMC},</if>
<if test="FSYYMC != null and FSYYMC != '' ">#{FSYYMC},</if>
<if test="TQQKMC != null and TQQKMC != '' ">#{TQQKMC},</if>
<if test="SFXQMC != null and SFXQMC != '' ">#{SFXQMC},</if>
<if test="CJJGMC != null and CJJGMC != '' ">#{CJJGMC},</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">#{AJSLRMC},</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">#{AJSLDWMC},</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">#{GLAJZTMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">#{WS_RKSJ},</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">#{WS_XGSJ},</if>
<if test="WS_YXX != null and WS_YXX != '' ">#{WS_YXX},</if>
<if test="JQSXMC != null and JQSXMC != '' ">#{JQSXMC},</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">#{RYWKSJ},</if>
</trim>
</insert>
<update id="updateCjxxById" parameterType="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql">
update jcj_cjxx_view
<trim prefix="SET" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">CJBH=#{CJBH},</if>
<if test="JJBH != null and JJBH != '' ">JJBH=#{JJBH},</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH=#{JJDBH},</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH=#{PJDBH},</if>
<if test="FKLYH != null and FKLYH != '' ">FKLYH=#{FKLYH},</if>
<if test="CJLB != null and CJLB != '' ">CJLB=#{CJLB},</if>
<if test="CJSJ != null and CJSJ != '' ">CJSJ=#{CJSJ},</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">DDXCSJ=#{DDXCSJ},</if>
<if test="CJXZQH != null and CJXZQH != '' ">CJXZQH=#{CJXZQH},</if>
<if test="CJJLX != null and CJJLX != '' ">CJJLX=#{CJJLX},</if>
<if test="CJMLPH != null and CJMLPH != '' ">CJMLPH=#{CJMLPH},</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">CJMPHZ=#{CJMPHZ},</if>
<if test="CJXZ != null and CJXZ != '' ">CJXZ=#{CJXZ},</if>
<if test="SFCS != null and SFCS != '' ">SFCS=#{SFCS},</if>
<if test="FSYY != null and FSYY != '' ">FSYY=#{FSYY},</if>
<if test="TQQK != null and TQQK != '' ">TQQK=#{TQQK},</if>
<if test="JQSX != null and JQSX != '' ">JQSX=#{JQSX},</if>
<if test="CJR != null and CJR != '' ">CJR=#{CJR},</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">CJRHZXS=#{CJRHZXS},</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">CJRLXFS=#{CJRLXFS},</if>
<if test="SFXQ != null and SFXQ != '' ">SFXQ=#{SFXQ},</if>
<if test="SFSJSX != null and SFSJSX != '' ">SFSJSX=#{SFSJSX},</if>
<if test="SFSJXX != null and SFSJXX != '' ">SFSJXX=#{SFSJXX},</if>
<if test="CLJGNR != null and CLJGNR != '' ">CLJGNR=#{CLJGNR},</if>
<if test="BCCLJG != null and BCCLJG != '' ">BCCLJG=#{BCCLJG},</if>
<if test="SSXXQK != null and SSXXQK != '' ">SSXXQK=#{SSXXQK},</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">CJFKSJ=#{CJFKSJ},</if>
<if test="SPSJ != null and SPSJ != '' ">SPSJ=#{SPSJ},</if>
<if test="ZBLD != null and ZBLD != '' ">ZBLD=#{ZBLD},</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">ZBLDXM=#{ZBLDXM},</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">LDCLSJ=#{LDCLSJ},</if>
<if test="CJJG != null and CJJG != '' ">CJJG=#{CJJG},</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">CJYSJSDW=#{CJYSJSDW},</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">CJYSJSR=#{CJYSJSR},</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">CJYSJSSJ=#{CJYSJSSJ},</if>
<if test="CDJL != null and CDJL != '' ">CDJL=#{CDJL},</if>
<if test="CDJDC != null and CDJDC != '' ">CDJDC=#{CDJDC},</if>
<if test="CDCZ != null and CDCZ != '' ">CDCZ=#{CDCZ},</if>
<if test="JJFNS != null and JJFNS != '' ">JJFNS=#{JJFNS},</if>
<if test="JJETS != null and JJETS != '' ">JJETS=#{JJETS},</if>
<if test="JJRZS != null and JJRZS != '' ">JJRZS=#{JJRZS},</if>
<if test="JZQZ != null and JZQZ != '' ">JZQZ=#{JZQZ},</if>
<if test="JZSY != null and JZSY != '' ">JZSY=#{JZSY},</if>
<if test="RYSSS != null and RYSSS != '' ">RYSSS=#{RYSSS},</if>
<if test="RYSWS != null and RYSWS != '' ">RYSWS=#{RYSWS},</if>
<if test="LZSCRS != null and LZSCRS != '' ">LZSCRS=#{LZSCRS},</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">PHXXAJ=#{PHXXAJ},</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">PHXSAJ=#{PHXSAJ},</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">PHZAAJ=#{PHZAAJ},</if>
<if test="TPRF != null and TPRF != '' ">TPRF=#{TPRF},</if>
<if test="ZHZACY != null and ZHZACY != '' ">ZHZACY=#{ZHZACY},</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">ZJJJSS=#{ZJJJSS},</if>
<if test="WHSS != null and WHSS != '' ">WHSS=#{WHSS},</if>
<if test="AJSLR != null and AJSLR != '' ">AJSLR=#{AJSLR},</if>
<if test="AJSLDW != null and AJSLDW != '' ">AJSLDW=#{AJSLDW},</if>
<if test="GLAJBH != null and GLAJBH != '' ">GLAJBH=#{GLAJBH},</if>
<if test="GLAJZT != null and GLAJZT != '' ">GLAJZT=#{GLAJZT},</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X=#{GIS_X},</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y=#{GIS_Y},</if>
<if test="DJDW != null and DJDW != '' ">DJDW=#{DJDW},</if>
<if test="DJR != null and DJR != '' ">DJR=#{DJR},</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ=#{DJSJ},</if>
<if test="XGR != null and XGR != '' ">XGR=#{XGR},</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ=#{XGSJ},</if>
<if test="XGDW != null and XGDW != '' ">XGDW=#{XGDW},</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM=#{DJRXM},</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC=#{DJDWMC},</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM=#{XGRXM},</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC=#{XGDWMC},</if>
<if test="CJDW != null and CJDW != '' ">CJDW=#{CJDW},</if>
<if test="CJDWMC != null and CJDWMC != '' ">CJDWMC=#{CJDWMC},</if>
<if test="CJXXDD != null and CJXXDD != '' ">CJXXDD=#{CJXXDD},</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">ZBLDDW=#{ZBLDDW},</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">ZBLDDWMC=#{ZBLDDWMC},</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">SPXGSJ=#{SPXGSJ},</if>
<if test="YZB != null and YZB != '' ">YZB=#{YZB},</if>
<if test="XZB != null and XZB != '' ">XZB=#{XZB},</if>
<if test="BZSJ != null and BZSJ != '' ">BZSJ=#{BZSJ},</if>
<if test="BZDW != null and BZDW != '' ">BZDW=#{BZDW},</if>
<if test="BZR != null and BZR != '' ">BZR=#{BZR},</if>
<if test="BZRXM != null and BZRXM != '' ">BZRXM=#{BZRXM},</if>
<if test="BZDWMC != null and BZDWMC != '' ">BZDWMC=#{BZDWMC},</if>
<if test="GXSJ != null and GXSJ != '' ">GXSJ=#{GXSJ},</if>
<if test="GXRXM != null and GXRXM != '' ">GXRXM=#{GXRXM},</if>
<if test="GXR != null and GXR != '' ">GXR=#{GXR},</if>
<if test="GXDWMC != null and GXDWMC != '' ">GXDWMC=#{GXDWMC},</if>
<if test="GXDW != null and GXDW != '' ">GXDW=#{GXDW},</if>
<if test="CJLBMC != null and CJLBMC != '' ">CJLBMC=#{CJLBMC},</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">CJXZQHMC=#{CJXZQHMC},</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">CJJLXMC=#{CJJLXMC},</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">CJMPHZMC=#{CJMPHZMC},</if>
<if test="SFCSMC != null and SFCSMC != '' ">SFCSMC=#{SFCSMC},</if>
<if test="FSYYMC != null and FSYYMC != '' ">FSYYMC=#{FSYYMC},</if>
<if test="TQQKMC != null and TQQKMC != '' ">TQQKMC=#{TQQKMC},</if>
<if test="SFXQMC != null and SFXQMC != '' ">SFXQMC=#{SFXQMC},</if>
<if test="CJJGMC != null and CJJGMC != '' ">CJJGMC=#{CJJGMC},</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">AJSLRMC=#{AJSLRMC},</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">AJSLDWMC=#{AJSLDWMC},</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">GLAJZTMC=#{GLAJZTMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ=#{WS_RKSJ},</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ=#{WS_XGSJ},</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX=#{WS_YXX},</if>
<if test="JQSXMC != null and JQSXMC != '' ">JQSXMC=#{JQSXMC},</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ=#{RYWKSJ},</if>
</trim>
where CJBH = #{CJBH}
</update>
</mapper>

@ -0,0 +1,125 @@
<?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.ssf.mysqloracletest.mapper.JcjCjxxViewOracleMapper">
<select id="countCjxx" resultType="int">
select count(*)
from SYX_JWPT.JCJ_CJXX_VIEW
</select>
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.JcjCjxxViewOracle">
<result property="cjbh" column="CJBH" jdbcType="VARCHAR"/>
<result property="jjbh" column="JJBH" jdbcType="VARCHAR"/>
<result property="jjdbh" column="JJDBH" jdbcType="VARCHAR"/>
<result property="pjdbh" column="PJDBH" jdbcType="VARCHAR"/>
<result property="fklyh" column="FKLYH" jdbcType="VARCHAR"/>
<result property="cjlb" column="CJLB" jdbcType="VARCHAR"/>
<result property="cjsj" column="CJSJ" jdbcType="VARCHAR"/>
<result property="ddxcsj" column="DDXCSJ" jdbcType="VARCHAR"/>
<result property="cjxzqh" column="CJXZQH" jdbcType="VARCHAR"/>
<result property="cjjlx" column="CJJLX" jdbcType="VARCHAR"/>
<result property="cjmlph" column="CJMLPH" jdbcType="VARCHAR"/>
<result property="cjmphz" column="CJMPHZ" jdbcType="VARCHAR"/>
<result property="cjxz" column="CJXZ" jdbcType="VARCHAR"/>
<result property="sfcs" column="SFCS" jdbcType="VARCHAR"/>
<result property="fsyy" column="FSYY" jdbcType="VARCHAR"/>
<result property="tqqk" column="TQQK" jdbcType="VARCHAR"/>
<result property="jqsx" column="JQSX" jdbcType="VARCHAR"/>
<result property="cjr" column="CJR" jdbcType="VARCHAR"/>
<result property="cjrhzxs" column="CJRHZXS" jdbcType="VARCHAR"/>
<result property="cjrlxfs" column="CJRLXFS" jdbcType="VARCHAR"/>
<result property="sfxq" column="SFXQ" jdbcType="VARCHAR"/>
<result property="sfsjsx" column="SFSJSX" jdbcType="VARCHAR"/>
<result property="sfsjxx" column="SFSJXX" jdbcType="VARCHAR"/>
<result property="cljgnr" column="CLJGNR" jdbcType="VARCHAR"/>
<result property="bccljg" column="BCCLJG" jdbcType="VARCHAR"/>
<result property="ssxxqk" column="SSXXQK" jdbcType="VARCHAR"/>
<result property="cjfksj" column="CJFKSJ" jdbcType="VARCHAR"/>
<result property="spsj" column="SPSJ" jdbcType="VARCHAR"/>
<result property="zbld" column="ZBLD" jdbcType="VARCHAR"/>
<result property="zbldxm" column="ZBLDXM" jdbcType="VARCHAR"/>
<result property="ldclsj" column="LDCLSJ" jdbcType="VARCHAR"/>
<result property="cjjg" column="CJJG" jdbcType="VARCHAR"/>
<result property="cjysjsdw" column="CJYSJSDW" jdbcType="VARCHAR"/>
<result property="cjysjsr" column="CJYSJSR" jdbcType="VARCHAR"/>
<result property="cjysjssj" column="CJYSJSSJ" jdbcType="VARCHAR"/>
<result property="cdjl" column="CDJL" jdbcType="VARCHAR"/>
<result property="cdjdc" column="CDJDC" jdbcType="VARCHAR"/>
<result property="cdcz" column="CDCZ" jdbcType="VARCHAR"/>
<result property="jjfns" column="JJFNS" jdbcType="VARCHAR"/>
<result property="jjets" column="JJETS" jdbcType="VARCHAR"/>
<result property="jjrzs" column="JJRZS" jdbcType="VARCHAR"/>
<result property="jzqz" column="JZQZ" jdbcType="VARCHAR"/>
<result property="jzsy" column="JZSY" jdbcType="VARCHAR"/>
<result property="rysss" column="RYSSS" jdbcType="VARCHAR"/>
<result property="rysws" column="RYSWS" jdbcType="VARCHAR"/>
<result property="lzscrs" column="LZSCRS" jdbcType="VARCHAR"/>
<result property="phxxaj" column="PHXXAJ" jdbcType="VARCHAR"/>
<result property="phxsaj" column="PHXSAJ" jdbcType="VARCHAR"/>
<result property="phzaaj" column="PHZAAJ" jdbcType="VARCHAR"/>
<result property="tprf" column="TPRF" jdbcType="VARCHAR"/>
<result property="zhzacy" column="ZHZACY" jdbcType="VARCHAR"/>
<result property="zjjjss" column="ZJJJSS" jdbcType="VARCHAR"/>
<result property="whss" column="WHSS" jdbcType="VARCHAR"/>
<result property="ajslr" column="AJSLR" jdbcType="VARCHAR"/>
<result property="ajsldw" column="AJSLDW" jdbcType="VARCHAR"/>
<result property="glajbh" column="GLAJBH" jdbcType="VARCHAR"/>
<result property="glajzt" column="GLAJZT" jdbcType="VARCHAR"/>
<result property="gisX" column="GIS_X" jdbcType="VARCHAR"/>
<result property="gisY" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="djdw" column="DJDW" jdbcType="VARCHAR"/>
<result property="djr" column="DJR" jdbcType="VARCHAR"/>
<result property="djsj" column="DJSJ" jdbcType="VARCHAR"/>
<result property="xgr" column="XGR" jdbcType="VARCHAR"/>
<result property="xgsj" column="XGSJ" jdbcType="VARCHAR"/>
<result property="xgdw" column="XGDW" jdbcType="VARCHAR"/>
<result property="djrxm" column="DJRXM" jdbcType="VARCHAR"/>
<result property="djdwmc" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="xgrxm" column="XGRXM" jdbcType="VARCHAR"/>
<result property="xgdwmc" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="cjdw" column="CJDW" jdbcType="VARCHAR"/>
<result property="cjdwmc" column="CJDWMC" jdbcType="VARCHAR"/>
<result property="cjxxdd" column="CJXXDD" jdbcType="VARCHAR"/>
<result property="zblddw" column="ZBLDDW" jdbcType="VARCHAR"/>
<result property="zblddwmc" column="ZBLDDWMC" jdbcType="VARCHAR"/>
<result property="spxgsj" column="SPXGSJ" jdbcType="VARCHAR"/>
<result property="yzb" column="YZB" jdbcType="VARCHAR"/>
<result property="xzb" column="XZB" jdbcType="VARCHAR"/>
<result property="bzsj" column="BZSJ" jdbcType="VARCHAR"/>
<result property="bzdw" column="BZDW" jdbcType="VARCHAR"/>
<result property="bzr" column="BZR" jdbcType="VARCHAR"/>
<result property="bzrxm" column="BZRXM" jdbcType="VARCHAR"/>
<result property="bzdwmc" column="BZDWMC" jdbcType="VARCHAR"/>
<result property="gxsj" column="GXSJ" jdbcType="VARCHAR"/>
<result property="gxrxm" column="GXRXM" jdbcType="VARCHAR"/>
<result property="gxr" column="GXR" jdbcType="VARCHAR"/>
<result property="gxdwmc" column="GXDWMC" jdbcType="VARCHAR"/>
<result property="gxdw" column="GXDW" jdbcType="VARCHAR"/>
<result property="cjlbmc" column="CJLBMC" jdbcType="VARCHAR"/>
<result property="cjxzqhmc" column="CJXZQHMC" jdbcType="VARCHAR"/>
<result property="cjjlxmc" column="CJJLXMC" jdbcType="VARCHAR"/>
<result property="cjmphzmc" column="CJMPHZMC" jdbcType="VARCHAR"/>
<result property="sfcsmc" column="SFCSMC" jdbcType="VARCHAR"/>
<result property="fsyymc" column="FSYYMC" jdbcType="VARCHAR"/>
<result property="tqqkmc" column="TQQKMC" jdbcType="VARCHAR"/>
<result property="sfxqmc" column="SFXQMC" jdbcType="VARCHAR"/>
<result property="cjjgmc" column="CJJGMC" jdbcType="VARCHAR"/>
<result property="ajslrmc" column="AJSLRMC" jdbcType="VARCHAR"/>
<result property="ajsldwmc" column="AJSLDWMC" jdbcType="VARCHAR"/>
<result property="glajztmc" column="GLAJZTMC" jdbcType="VARCHAR"/>
<result property="wsRksj" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="wsXgsj" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="wsYxx" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="jqsxmc" column="JQSXMC" jdbcType="VARCHAR"/>
<result property="rywksj" column="RYWKSJ" jdbcType="VARCHAR"/>
</resultMap>
<select id="getCjxxList" parameterType="java.util.Map" resultMap="BaseResultMap">
SELECT t2.*
FROM (SELECT ROWNUM rn, t1.* FROM (SELECT * FROM SYX_JWPT.JCJ_CJXX_VIEW) t1 WHERE ROWNUM<![CDATA[ <= ]]> ${rowEnd}) t2
WHERE t2.rn <![CDATA[ >= ]]> ${rowStart}
</select>
</mapper>

@ -50,7 +50,7 @@
<select id="selectVSySyrkById" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from v_sy_syrk
where ID = #{id} limit 1
where ID = #{ID} limit 1
</select>
<insert id="insertVSySyrk" parameterType="com.ssf.mysqloracletest.domain.VSySyrkMysql" useGeneratedKeys="true"
@ -177,7 +177,7 @@
<if test="YSBZK_RKSJ != null and YSBZK_RKSJ != '' ">YSBZK_RKSJ=#{YSBZK_RKSJ},</if>
<if test="YSBZK_GXSJ != null and YSBZK_GXSJ != '' ">YSBZK_GXSJ=#{YSBZK_GXSJ},</if>
</trim>
where ID = #{id}
where ID = #{ID}
</update>
</mapper>

Loading…
Cancel
Save