接警信息--定位查

develop
Angel 9 months ago
parent 83611666d1
commit de41501855

@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
@ -783,4 +784,13 @@ public class JcjJjxxViewMysql implements Serializable {
@TableField(value = "STATUS")
private String STATUS;
@TableField(exist = false)
private String LEFTTOPLONGITUDE;
@TableField(exist = false)
private String RIGHTBOTTOMLONGITUDE;
@TableField(exist = false)
private String RIGHTBOTTOMLATITUDE;
@TableField(exist = false)
private String LEFTTOPLATITUDE;
}

@ -15,4 +15,6 @@ public interface JcjJxxViewMysqlMapper extends BaseMapper<JcjJjxxViewMysql> {
public JcjJjxxViewMysql selectRecordOrderByRksj();
public int countJjxx();
public JcjJjxxViewMysql selectloaction(JcjJjxxViewMysql bean);
}

@ -19,4 +19,6 @@ public interface JcjJjxxViewMysqlService extends IService<JcjJjxxViewMysql>{
public int countJjxx();
public JcjJjxxViewMysql selectloaction(JcjJjxxViewMysql bean);
}

@ -7,6 +7,7 @@ import com.ssf.mysqloracletest.mapper.JcjJxxViewMysqlMapper;
import com.ssf.mysqloracletest.service.JcjJjxxViewMysqlService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* @author 10503
@ -16,7 +17,7 @@ import org.springframework.stereotype.Service;
@Service
@DS("mysql")
@RequiredArgsConstructor
public class JcjJjxxViewMysqlServiceImpl extends ServiceImpl<JcjJxxViewMysqlMapper,JcjJjxxViewMysql> implements JcjJjxxViewMysqlService {
public class JcjJjxxViewMysqlServiceImpl extends ServiceImpl<JcjJxxViewMysqlMapper, JcjJjxxViewMysql> implements JcjJjxxViewMysqlService {
private final JcjJxxViewMysqlMapper jcxxMapper;
@ -44,6 +45,12 @@ public class JcjJjxxViewMysqlServiceImpl extends ServiceImpl<JcjJxxViewMysqlMapp
public int countJjxx() {
return jcxxMapper.countJjxx();
}
@Override
public JcjJjxxViewMysql selectloaction(JcjJjxxViewMysql bean) {
return jcxxMapper.selectloaction(bean);
}
}

@ -47,7 +47,6 @@ public class AlarmInfoTask {
return;
}
try {
QueryWrapper<JcjJjxxViewMysql> queryWrapper = new QueryWrapper<>();
queryWrapper.isNull("STATUS");
@ -80,34 +79,38 @@ public class AlarmInfoTask {
private void cleanJjxx(JcjJjxxViewMysql bean) {
JcjJjxxViewMysql jjxxViewMysqlCp = new JcjJjxxViewMysql();
jjxxViewMysqlCp.setLEFTTOPLONGITUDE("120.423914");
jjxxViewMysqlCp.setRIGHTBOTTOMLONGITUDE("120.439581");
jjxxViewMysqlCp.setRIGHTBOTTOMLATITUDE("33.823756");
jjxxViewMysqlCp.setLEFTTOPLATITUDE("33.833082");
JcjJjxxViewMysql selectloaction = jjxxViewMysqlService.selectloaction(jjxxViewMysqlCp);
try {
BeanUtils.copyProperties(bean, jjxxViewMysqlCp);
JcjJjxxViewMysql jwd = jjxxViewMysqlService.selectJcjJxxByJJBH(bean.getJJBH());
BeanUtils.copyProperties(bean, selectloaction);
JcjJjxxViewMysql jwd = jjxxViewMysqlService.selectJcjJxxByJJBH(selectloaction.getJJBH());
MetaAlarmInfo alarmInfo = new MetaAlarmInfo();
//设置目标字段的值
//alarm_code<-----JJBH 接警编号
alarmInfo.setAlarmCode(jjxxViewMysqlCp.getJJBH());
alarmInfo.setAlarmCode(selectloaction.getJJBH());
//police_receiver_name<-----JJRXM接警人姓名
alarmInfo.setPoliceReceiverName(jjxxViewMysqlCp.getJJRXM());
alarmInfo.setPoliceReceiverName(selectloaction.getJJRXM());
//alarm_response_time<-----JJRQSJ接警日期时间
alarmInfo.setAlarmResponseTime(jjxxViewMysqlCp.getJJRQSJ());
alarmInfo.setAlarmResponseTime(selectloaction.getJJRQSJ());
//alarm_response_content<-----BJNR接警报警内容
alarmInfo.setAlarmResponseContent(jjxxViewMysqlCp.getBJNR());
alarmInfo.setAlarmResponseContent(selectloaction.getBJNR());
//informant_name<-----BJR接警报警人
alarmInfo.setInformantName(jjxxViewMysqlCp.getBJR());
alarmInfo.setInformantName(selectloaction.getBJR());
//informant_time<-----BJDHSJ接警报警时间
alarmInfo.setInformantTime(jjxxViewMysqlCp.getBJDHSJ());
alarmInfo.setInformantTime(selectloaction.getBJDHSJ());
//informant_phone<-----LXDH接警报警人联系电话
alarmInfo.setInformantPhone(jjxxViewMysqlCp.getLXDH());
alarmInfo.setInformantPhone(selectloaction.getLXDH());
//alarm_response_type<-----BJLXMC报警类型名称
alarmInfo.setAlarmResponseTypeName(jjxxViewMysqlCp.getBJLXMC());
alarmInfo.setAlarmResponseTypeName(selectloaction.getBJLXMC());
//alarm_address<-----SFDD接警事发地址
alarmInfo.setAlarmAddress(jjxxViewMysqlCp.getSFDD());
alarmInfo.setAlarmAddress(selectloaction.getSFDD());
//alarm_response_unit<-----JJDWMC接警单位名称
alarmInfo.setAlarmResponseUnit(jjxxViewMysqlCp.getJJDWMC());
alarmInfo.setAlarmResponseUnit(selectloaction.getJJDWMC());
if (jwd.getGIS_Y() != null) {
//latitude(纬度)<-----WDZB纬度坐标
alarmInfo.setLatitude(NumKit.checkBigDecimal(jwd.getGIS_Y()));
}
@ -120,14 +123,14 @@ public class AlarmInfoTask {
boolean b = alarmInfoService.save(alarmInfo);
if (b) {
jjxxViewMysqlCp.setSTATUS("1");
jjxxViewMysqlService.updateJjxxByJJBH(jjxxViewMysqlCp);
selectloaction.setSTATUS("1");
jjxxViewMysqlService.updateJjxxByJJBH(selectloaction);
logger.info("状态修改为1");
}
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
jjxxViewMysqlCp.setSTATUS("2");
jjxxViewMysqlService.updateJjxxByJJBH(jjxxViewMysqlCp);
selectloaction.setSTATUS("2");
jjxxViewMysqlService.updateJjxxByJJBH(selectloaction);
logger.info("状态修改为2");
}
}

@ -134,6 +134,10 @@
<result property="JDZB" column="JDZB" jdbcType="VARCHAR"/>
<result property="WDZB" column="WDZB" jdbcType="VARCHAR"/>
<result property="STATUS" column="STATUS" jdbcType="VARCHAR"/>
<result property="LEFTTOPLONGITUDE" column="LEFTTOPLONGITUDE" jdbcType="VARCHAR"/>
<result property="RIGHTBOTTOMLONGITUDE" column="RIGHTBOTTOMLONGITUDE" jdbcType="VARCHAR"/>
<result property="RIGHTBOTTOMLATITUDE" column="RIGHTBOTTOMLATITUDE" jdbcType="VARCHAR"/>
<result property="LEFTTOPLATITUDE" column="LEFTTOPLATITUDE" jdbcType="VARCHAR"/>
</resultMap>
<select id="selectJcjJxxByJJBH" parameterType="java.lang.String" resultMap="BaseResultMap">
@ -147,136 +151,139 @@
keyProperty="id">
insert into jcj_jjxx_view
<trim prefix="(" suffix=")" suffixOverrides=",">
<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="JJBH != null and JJBH != '' ">JJBH ,</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH ,</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH ,</if>
<if test="GLJJDBH != null and GLJJDBH != '' ">GLJJDBH ,</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH ,</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH ,</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH ,</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM ,</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM ,</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM ,</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ ,</if>
<if test="BJDH != null and BJDH != '' ">BJDH ,</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM ,</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ ,</if>
<if test="THSC != null and THSC != '' ">THSC ,</if>
<if test="BJR != null and BJR != '' ">BJR ,</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB ,</if>
<if test="LXDH != null and LXDH != '' ">LXDH ,</if>
<if test="BJXS != null and BJXS != '' ">BJXS ,</if>
<if test="BJLX != null and BJLX != '' ">BJLX ,</if>
<if test="SFDD != null and SFDD != '' ">SFDD ,</if>
<if test="BJNR != null and BJNR != '' ">BJNR ,</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR ,</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH ,</if>
<if test="CLLX != null and CLLX != '' ">CLLX ,</if>
<if test="SYQX != null and SYQX != '' ">SYQX ,</if>
<if test="CLQX != null and CLQX != '' ">CLQX ,</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ ,</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW ,</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM ,</if>
<if test="JZLB != null and JZLB != '' ">JZLB ,</if>
<if test="JZJG != null and JZJG != '' ">JZJG ,</if>
<if test="QHCS != null and QHCS != '' ">QHCS ,</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK ,</if>
<if test="BLQK != null and BLQK != '' ">BLQK ,</if>
<if test="SFBW != null and SFBW != '' ">SFBW ,</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ ,</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ ,</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL ,</if>
<if test="YFTY != null and YFTY != '' ">YFTY ,</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY ,</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="SFZXXS != null and SFZXXS != '' ">SFZXXS ,</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY ,</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ ,</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ ,</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ ,</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ ,</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ ,</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR ,</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH ,</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH ,</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH ,</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM ,</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM ,</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM ,</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ ,</if>
<if test="BJDH != null and BJDH != '' ">BJDH ,</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM ,</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ ,</if>
<if test="THSC != null and THSC != '' ">THSC ,</if>
<if test="BJR != null and BJR != '' ">BJR ,</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB ,</if>
<if test="LXDH != null and LXDH != '' ">LXDH ,</if>
<if test="BJXS != null and BJXS != '' ">BJXS ,</if>
<if test="BJLX != null and BJLX != '' ">BJLX ,</if>
<if test="SFDD != null and SFDD != '' ">SFDD ,</if>
<if test="BJNR != null and BJNR != '' ">BJNR ,</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR ,</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH ,</if>
<if test="CLLX != null and CLLX != '' ">CLLX ,</if>
<if test="SYQX != null and SYQX != '' ">SYQX ,</if>
<if test="CLQX != null and CLQX != '' ">CLQX ,</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ ,</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW ,</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM ,</if>
<if test="JZLB != null and JZLB != '' ">JZLB ,</if>
<if test="JZJG != null and JZJG != '' ">JZJG ,</if>
<if test="QHCS != null and QHCS != '' ">QHCS ,</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK ,</if>
<if test="BLQK != null and BLQK != '' ">BLQK ,</if>
<if test="SFBW != null and SFBW != '' ">SFBW ,</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ ,</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ ,</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL ,</if>
<if test="YFTY != null and YFTY != '' ">YFTY ,</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY ,</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="SFZXXS != null and SFZXXS != '' ">SFZXXS ,</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY ,</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ ,</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ ,</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ ,</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ ,</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ ,</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR ,</if>
<if test="EJJSRXM != null and EJJSRXM != '' ">EJJSRXM ,</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW ,</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW ,</if>
<if test="EJJSDWMC != null and EJJSDWMC != '' ">EJJSDWMC,</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ ,</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ ,</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR ,</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ ,</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ ,</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR ,</if>
<if test="SJJSRXM != null and SJJSRXM != '' ">SJJSRXM ,</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD ,</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD ,</if>
<if test="SJJSDWMC != null and SJJSDWMC != '' ">SJJSDWMC,</if>
<if test="CJBS != null and CJBS != '' ">CJBS ,</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="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ ,</if>
<if test="JJDW != null and JJDW != '' ">JJDW ,</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC ,</if>
<if test="JJR != null and JJR != '' ">JJR ,</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM ,</if>
<if test="YJDW != null and YJDW != '' ">YJDW ,</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ ,</if>
<if test="YJSM != null and YJSM != '' ">YJSM ,</if>
<if test="YJR != null and YJR != '' ">YJR ,</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH ,</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW ,</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ ,</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX ,</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR ,</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ ,</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ ,</if>
<if test="SBNR != null and SBNR != '' ">SBNR ,</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM ,</if>
<if test="JJLX != null and JJLX != '' ">JJLX ,</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR ,</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW ,</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ ,</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM ,</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH ,</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ ,</if>
<if test="SFFK != null and SFFK != '' ">SFFK ,</if>
<if test="CJBS != null and CJBS != '' ">CJBS ,</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="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ ,</if>
<if test="JJDW != null and JJDW != '' ">JJDW ,</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC ,</if>
<if test="JJR != null and JJR != '' ">JJR ,</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM ,</if>
<if test="YJDW != null and YJDW != '' ">YJDW ,</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ ,</if>
<if test="YJSM != null and YJSM != '' ">YJSM ,</if>
<if test="YJR != null and YJR != '' ">YJR ,</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH ,</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW ,</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ ,</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX ,</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR ,</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ ,</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ ,</if>
<if test="SBNR != null and SBNR != '' ">SBNR ,</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM ,</if>
<if test="JJLX != null and JJLX != '' ">JJLX ,</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR ,</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW ,</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ ,</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM ,</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH ,</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ ,</if>
<if test="SFFK != null and SFFK != '' ">SFFK ,</if>
<if test="BJRXBMC != null and BJRXBMC != '' ">BJRXBMC ,</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC ,</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC ,</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC ,</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC ,</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC ,</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC ,</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC ,</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC ,</if>
<if test="SFZDDWMC != null and SFZDDWMC != '' ">SFZDDWMC,</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC ,</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC ,</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC ,</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC ,</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC ,</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC ,</if>
<if test="YFWXWZMC != null and YFWXWZMC != '' ">YFWXWZMC,</if>
<if test="YWBZXLMC != null and YWBZXLMC != '' ">YWBZXLMC,</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC ,</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC ,</if>
<if test="YWBKRYMC != null and YWBKRYMC != '' ">YWBKRYMC,</if>
<if test="SFZXXSMC != null and SFZXXSMC != '' ">SFZXXSMC,</if>
<if test="SJJSDMC != null and SJJSDMC != '' ">SJJSDMC ,</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC ,</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC ,</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC ,</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC ,</if>
<if test="JJXZQHMC != null and JJXZQHMC != '' ">JJXZQHMC,</if>
<if test="JJGXDWMC != null and JJGXDWMC != '' ">JJGXDWMC,</if>
<if test="ZDYJRXM != null and ZDYJRXM != '' ">ZDYJRXM ,</if>
<if test="ZDYJDWMC != null and ZDYJDWMC != '' ">ZDYJDWMC,</if>
<if test="SFBDDHMC != null and SFBDDHMC != '' ">SFBDDHMC,</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC ,</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC ,</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC ,</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC ,</if>
<if test="LHLBDMMC != null and LHLBDMMC != '' ">LHLBDMMC,</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="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ ,</if>
<if test="JDZB != null and JDZB != '' ">JDZB ,</if>
<if test="WDZB != null and WDZB != '' ">WDZB ,</if>
<if test="STATUS != null and STATUS != '' ">STATUS ,</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX ,</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ ,</if>
<if test="JDZB != null and JDZB != '' ">JDZB ,</if>
<if test="WDZB != null and WDZB != '' ">WDZB ,</if>
<if test="STATUS != null and STATUS != '' ">STATUS ,</if>
<if test="LEFTTOPLONGITUDE != null and LEFTTOPLONGITUDE != '' ">LEFTTOPLONGITUDE ,</if>
<if test="RIGHTBOTTOMLONGITUDE != null and RIGHTBOTTOMLONGITUDE != '' ">RIGHTBOTTOMLONGITUDE ,</if>
<if test="RIGHTBOTTOMLATITUDE != null and RIGHTBOTTOMLATITUDE != '' ">RIGHTBOTTOMLATITUDE ,</if>
<if test="LEFTTOPLATITUDE != null and LEFTTOPLATITUDE != '' ">LEFTTOPLATITUDE ,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="JJBH != null and JJBH != '' ">#{JJBH },</if>
@ -408,6 +415,10 @@
<if test="JDZB != null and JDZB != '' ">#{JDZB },</if>
<if test="WDZB != null and WDZB != '' ">#{WDZB },</if>
<if test="STATUS != null and STATUS != '' ">#{STATUS },</if>
<if test="LEFTTOPLONGITUDE != null and LEFTTOPLONGITUDE != '' ">#{LEFTTOPLONGITUDE },</if>
<if test="RIGHTBOTTOMLONGITUDE != null and RIGHTBOTTOMLONGITUDE != '' ">#{RIGHTBOTTOMLONGITUDE },</if>
<if test="RIGHTBOTTOMLATITUDE != null and RIGHTBOTTOMLATITUDE != '' ">#{RIGHTBOTTOMLONGITUDE },</if>
<if test="LEFTTOPLATITUDE != null and LEFTTOPLATITUDE != '' ">#{LEFTTOPLATITUDE },</if>
</trim>
</insert>
@ -416,149 +427,163 @@
<update id="updateJjxxByJJBH" parameterType="com.ssf.mysqloracletest.domain.JcjJjxxViewMysql">
update jcj_jjxx_view
<trim prefix="SET" suffixOverrides=",">
<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="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="GLJJDBH != null and GLJJDBH != '' ">GLJJDBH =#{GLJJDBH },</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH =#{JJLYH },</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH =#{PJLYH },</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH =#{LDGBH },</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM =#{JJYXM },</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM =#{PJYXM },</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM =#{LHLBDM },</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ =#{BJDHSJ },</if>
<if test="BJDH != null and BJDH != '' ">BJDH =#{BJDH },</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM =#{BJDHHM },</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ =#{BJDHDZ },</if>
<if test="THSC != null and THSC != '' ">THSC =#{THSC },</if>
<if test="BJR != null and BJR != '' ">BJR =#{BJR },</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB =#{BJRXB },</if>
<if test="LXDH != null and LXDH != '' ">LXDH =#{LXDH },</if>
<if test="BJXS != null and BJXS != '' ">BJXS =#{BJXS },</if>
<if test="BJLX != null and BJLX != '' ">BJLX =#{BJLX },</if>
<if test="SFDD != null and SFDD != '' ">SFDD =#{SFDD },</if>
<if test="BJNR != null and BJNR != '' ">BJNR =#{BJNR },</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR =#{BCJJNR },</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH =#{SJCPH },</if>
<if test="CLLX != null and CLLX != '' ">CLLX =#{CLLX },</if>
<if test="SYQX != null and SYQX != '' ">SYQX =#{SYQX },</if>
<if test="CLQX != null and CLQX != '' ">CLQX =#{CLQX },</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ =#{HZDJ },</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW =#{SFZDDW },</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM =#{ZDDWBM },</if>
<if test="JZLB != null and JZLB != '' ">JZLB =#{JZLB },</if>
<if test="JZJG != null and JZJG != '' ">JZJG =#{JZJG },</if>
<if test="QHCS != null and QHCS != '' ">QHCS =#{QHCS },</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK =#{BZWQK },</if>
<if test="BLQK != null and BLQK != '' ">BLQK =#{BLQK },</if>
<if test="SFBW != null and SFBW != '' ">SFBW =#{SFBW },</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ =#{RSWXZ },</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ =#{YFWXWZ },</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL =#{YWBZXL },</if>
<if test="YFTY != null and YFTY != '' ">YFTY =#{YFTY },</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY =#{YWBKRY },</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="SFZXXS != null and SFZXXS != '' ">SFZXXS =#{SFZXXS },</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY =#{BJTDYY },</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ =#{PJSJ },</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ =#{BJCJYJ },</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ =#{EJDDSJ },</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ =#{EJJSSJ },</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ =#{EJXFSJ },</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR =#{EJJSR },</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH =#{JJLYH },</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH =#{PJLYH },</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH =#{LDGBH },</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM =#{JJYXM },</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM =#{PJYXM },</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM =#{LHLBDM },</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ =#{BJDHSJ },</if>
<if test="BJDH != null and BJDH != '' ">BJDH =#{BJDH },</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM =#{BJDHHM },</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ =#{BJDHDZ },</if>
<if test="THSC != null and THSC != '' ">THSC =#{THSC },</if>
<if test="BJR != null and BJR != '' ">BJR =#{BJR },</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB =#{BJRXB },</if>
<if test="LXDH != null and LXDH != '' ">LXDH =#{LXDH },</if>
<if test="BJXS != null and BJXS != '' ">BJXS =#{BJXS },</if>
<if test="BJLX != null and BJLX != '' ">BJLX =#{BJLX },</if>
<if test="SFDD != null and SFDD != '' ">SFDD =#{SFDD },</if>
<if test="BJNR != null and BJNR != '' ">BJNR =#{BJNR },</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR =#{BCJJNR },</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH =#{SJCPH },</if>
<if test="CLLX != null and CLLX != '' ">CLLX =#{CLLX },</if>
<if test="SYQX != null and SYQX != '' ">SYQX =#{SYQX },</if>
<if test="CLQX != null and CLQX != '' ">CLQX =#{CLQX },</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ =#{HZDJ },</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW =#{SFZDDW },</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM =#{ZDDWBM },</if>
<if test="JZLB != null and JZLB != '' ">JZLB =#{JZLB },</if>
<if test="JZJG != null and JZJG != '' ">JZJG =#{JZJG },</if>
<if test="QHCS != null and QHCS != '' ">QHCS =#{QHCS },</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK =#{BZWQK },</if>
<if test="BLQK != null and BLQK != '' ">BLQK =#{BLQK },</if>
<if test="SFBW != null and SFBW != '' ">SFBW =#{SFBW },</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ =#{RSWXZ },</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ =#{YFWXWZ },</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL =#{YWBZXL },</if>
<if test="YFTY != null and YFTY != '' ">YFTY =#{YFTY },</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY =#{YWBKRY },</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="SFZXXS != null and SFZXXS != '' ">SFZXXS =#{SFZXXS },</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY =#{BJTDYY },</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ =#{PJSJ },</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ =#{BJCJYJ },</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ =#{EJDDSJ },</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ =#{EJJSSJ },</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ =#{EJXFSJ },</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR =#{EJJSR },</if>
<if test="EJJSRXM != null and EJJSRXM != '' ">EJJSRXM =#{EJJSRXM },</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW =#{EJJSDW },</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW =#{EJJSDW },</if>
<if test="EJJSDWMC != null and EJJSDWMC != '' ">EJJSDWMC=#{EJJSDWMC},</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ =#{SJDDSJ },</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ =#{SJJSSJ },</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR =#{SJJSR },</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ =#{SJDDSJ },</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ =#{SJJSSJ },</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR =#{SJJSR },</if>
<if test="SJJSRXM != null and SJJSRXM != '' ">SJJSRXM =#{SJJSRXM },</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD =#{SJJSD },</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD =#{SJJSD },</if>
<if test="SJJSDWMC != null and SJJSDWMC != '' ">SJJSDWMC=#{SJJSDWMC},</if>
<if test="CJBS != null and CJBS != '' ">CJBS =#{CJBS },</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="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ =#{JJRQSJ },</if>
<if test="JJDW != null and JJDW != '' ">JJDW =#{JJDW },</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC =#{JJDWMC },</if>
<if test="JJR != null and JJR != '' ">JJR =#{JJR },</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM =#{JJRXM },</if>
<if test="YJDW != null and YJDW != '' ">YJDW =#{YJDW },</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ =#{YJSJ },</if>
<if test="YJSM != null and YJSM != '' ">YJSM =#{YJSM },</if>
<if test="YJR != null and YJR != '' ">YJR =#{YJR },</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH =#{JJXZQH },</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW =#{JJGXDW },</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ =#{FKYQ },</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX =#{SFYFDX },</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR =#{JJDXNR },</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ =#{JJDXSJ },</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ =#{SBSJ },</if>
<if test="SBNR != null and SBNR != '' ">SBNR =#{SBNR },</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM =#{CDCLBM },</if>
<if test="JJLX != null and JJLX != '' ">JJLX =#{JJLX },</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR =#{ZDYJR },</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW =#{ZDYJDW },</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ =#{ZDYJSJ },</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM =#{ZDYJSM },</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH =#{SFBDDH },</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ =#{SFPJ },</if>
<if test="SFFK != null and SFFK != '' ">SFFK =#{SFFK },</if>
<if test="CJBS != null and CJBS != '' ">CJBS =#{CJBS },</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="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ =#{JJRQSJ },</if>
<if test="JJDW != null and JJDW != '' ">JJDW =#{JJDW },</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC =#{JJDWMC },</if>
<if test="JJR != null and JJR != '' ">JJR =#{JJR },</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM =#{JJRXM },</if>
<if test="YJDW != null and YJDW != '' ">YJDW =#{YJDW },</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ =#{YJSJ },</if>
<if test="YJSM != null and YJSM != '' ">YJSM =#{YJSM },</if>
<if test="YJR != null and YJR != '' ">YJR =#{YJR },</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH =#{JJXZQH },</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW =#{JJGXDW },</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ =#{FKYQ },</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX =#{SFYFDX },</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR =#{JJDXNR },</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ =#{JJDXSJ },</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ =#{SBSJ },</if>
<if test="SBNR != null and SBNR != '' ">SBNR =#{SBNR },</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM =#{CDCLBM },</if>
<if test="JJLX != null and JJLX != '' ">JJLX =#{JJLX },</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR =#{ZDYJR },</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW =#{ZDYJDW },</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ =#{ZDYJSJ },</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM =#{ZDYJSM },</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH =#{SFBDDH },</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ =#{SFPJ },</if>
<if test="SFFK != null and SFFK != '' ">SFFK =#{SFFK },</if>
<if test="BJRXBMC != null and BJRXBMC != '' ">BJRXBMC =#{BJRXBMC },</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC =#{BJXSMC },</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC =#{BJLXMC },</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC =#{CLLXMC },</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC =#{HZDJMC },</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC =#{BJXSMC },</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC =#{BJLXMC },</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC =#{CLLXMC },</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC =#{HZDJMC },</if>
<if test="SFZDDWMC != null and SFZDDWMC != '' ">SFZDDWMC=#{SFZDDWMC},</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC =#{JZLBMC },</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC =#{JZJGMC },</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC =#{QHCSMC },</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC =#{JZLBMC },</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC =#{JZJGMC },</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC =#{QHCSMC },</if>
<if test="YFWXWZMC != null and YFWXWZMC != '' ">YFWXWZMC=#{YFWXWZMC},</if>
<if test="YWBZXLMC != null and YWBZXLMC != '' ">YWBZXLMC=#{YWBZXLMC},</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC =#{YFTYMC },</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC =#{YFTYMC },</if>
<if test="YWBKRYMC != null and YWBKRYMC != '' ">YWBKRYMC=#{YWBKRYMC},</if>
<if test="SFZXXSMC != null and SFZXXSMC != '' ">SFZXXSMC=#{SFZXXSMC},</if>
<if test="SJJSDMC != null and SJJSDMC != '' ">SJJSDMC =#{SJJSDMC },</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC =#{CJBSMC },</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC =#{YJDWMC },</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC =#{CJBSMC },</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC =#{YJDWMC },</if>
<if test="JJXZQHMC != null and JJXZQHMC != '' ">JJXZQHMC=#{JJXZQHMC},</if>
<if test="JJGXDWMC != null and JJGXDWMC != '' ">JJGXDWMC=#{JJGXDWMC},</if>
<if test="ZDYJRXM != null and ZDYJRXM != '' ">ZDYJRXM =#{ZDYJRXM },</if>
<if test="ZDYJDWMC != null and ZDYJDWMC != '' ">ZDYJDWMC=#{ZDYJDWMC},</if>
<if test="SFBDDHMC != null and SFBDDHMC != '' ">SFBDDHMC=#{SFBDDHMC},</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC =#{SFPJMC },</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC =#{SFFKMC },</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC =#{SFPJMC },</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC =#{SFFKMC },</if>
<if test="LHLBDMMC != null and LHLBDMMC != '' ">LHLBDMMC=#{LHLBDMMC},</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="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ =#{RYWKSJ },</if>
<if test="JDZB != null and JDZB != '' ">JDZB =#{JDZB },</if>
<if test="WDZB != null and WDZB != '' ">WDZB =#{WDZB },</if>
<if test="STATUS != null and STATUS != '' ">STATUS =#{STATUS },</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX =#{WS_YXX },</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ =#{RYWKSJ },</if>
<if test="JDZB != null and JDZB != '' ">JDZB =#{JDZB },</if>
<if test="WDZB != null and WDZB != '' ">WDZB =#{WDZB },</if>
<if test="STATUS != null and STATUS != '' ">STATUS =#{STATUS },</if>
<if test="LEFTTOPLONGITUDE != null and LEFTTOPLONGITUDE != '' ">LEFTTOPLONGITUDE =#{LEFTTOPLONGITUDE },</if>
<if test="RIGHTBOTTOMLONGITUDE != null and RIGHTBOTTOMLONGITUDE != '' ">RIGHTBOTTOMLONGITUDE =#{RIGHTBOTTOMLONGITUDE },</if>
<if test="RIGHTBOTTOMLATITUDE != null and RIGHTBOTTOMLATITUDE != '' ">RIGHTBOTTOMLATITUDE =#{RIGHTBOTTOMLONGITUDE },</if>
<if test="LEFTTOPLATITUDE != null and LEFTTOPLATITUDE != '' ">LEFTTOPLATITUDE =#{LEFTTOPLATITUDE },</if>
</trim>
where JJBH = #{JJBH}
</update>
<select id="selectRecordOrderByRksj" parameterType="java.lang.String" resultMap="BaseResultMap">
select *
from jcj_jjxx_view order by ws_rksj desc limit 1;
from jcj_jjxx_view
order by ws_rksj desc
limit 1;
</select>
<select id="countJjxx" resultType="int">
select count(*)
from jcj_jjxx_view limit 1
from jcj_jjxx_view
limit 1
</select>
<select id="selectloaction" parameterMap="map" resultMap="BaseResultMap">
select *
from jcj_jjxx_view
where JDZB BETWEEN #{leftTopLongitude} AND #{rightBottomLongitude}
AND WDZB BETWEEN #{rightBottomLatitude} AND #{leftTopLatitude};
</select>
</mapper>

Loading…
Cancel
Save