ID,
OBJ_ID,
WIU_ID,
WIU_NAME,
AD_NAME,
AD_CODE,
WIU_LOC,
WIU_LONG,
WIU_LAT,
GD_X,
GD_Y,
WAT_LIC_CODE,
WIU_CONTACT,
WIU_CONTACT_TEL,
APPR_CONTACT,
APPR_CONTACT_TEL,
NOTE,
STATE,
DATA_STAT,
INT_INFO_STAT,
APPR_INFO_STAT,
PERS_ID,
GROUP_ID,
IN_TM,
UP_TM,
APPR_UNIT,PROVINCE
#{id},
#{objId},
#{wiuId},
#{wiuName},
#{adName},
#{adCode},
#{wiuLoc},
#{wiuLong},
#{wiuLat},
#{gdX},
#{gdY},
#{watLicCode},
#{wiuContact},
#{wiuContactTel},
#{apprContact},
#{apprContactTel},
#{note},
#{state},
#{dataStat},
#{intInfoStat},
#{apprInfoStat},
#{persId},
#{groupId},
#{inTm},
#{upTm},
#{apprUnit},#{province}
and OBJ_ID = #{objId}
and province =#{provicne}
and province is null
and WIU_ID = #{wiuId}
and WIU_NAME = #{wiuName}
and AD_NAME = #{adName}
and AD_CODE = #{adCode}
and WIU_LOC = #{wiuLoc}
and WIU_LONG = #{wiuLong}
and WIU_LAT = #{wiuLat}
and GD_X = #{gdX}
and GD_Y = #{gdY}
and WAT_LIC_CODE = #{watLicCode}
and WIU_CONTACT = #{wiuContact}
and WIU_CONTACT_TEL = #{wiuContactTel}
and APPR_CONTACT = #{apprContact}
and APPR_CONTACT_TEL = #{apprContactTel}
and NOTE = #{note}
and STATE = #{state}
and DATA_STAT = #{dataStat}
and INT_INFO_STAT = #{intInfoStat}
and APPR_INFO_STAT = #{apprInfoStat}
and PERS_ID = #{persId}
and GROUP_ID = #{groupId}
and IN_TM = #{inTm}
and UP_TM = #{upTm}
and APPR_UNIT = #{apprUnit}
insert into BIS_INSP_WIU_RGSTR( )
values ( )
delete from BIS_INSP_WIU_RGSTR where ID = #{id}
delete from BIS_INSP_WIU_RGSTR
update BIS_INSP_WIU_RGSTR set flag_valid = 0 where ID = #{id}
update BIS_INSP_WIU_RGSTR
OBJ_ID = #{objId},
PROVINCE = #{province},
WIU_ID = #{wiuId},
WIU_NAME = #{wiuName},
AD_NAME = #{adName},
AD_CODE = #{adCode},
WIU_LOC = #{wiuLoc},
WIU_LONG = #{wiuLong},
WIU_LAT = #{wiuLat},
GD_X = #{gdX},
GD_Y = #{gdY},
WAT_LIC_CODE = #{watLicCode},
WIU_CONTACT = #{wiuContact},
WIU_CONTACT_TEL = #{wiuContactTel},
APPR_CONTACT = #{apprContact},
APPR_CONTACT_TEL = #{apprContactTel},
NOTE = #{note},
STATE = #{state},
DATA_STAT = #{dataStat},
INT_INFO_STAT = #{intInfoStat},
APPR_INFO_STAT = #{apprInfoStat},
PERS_ID = #{persId},
GROUP_ID = #{groupId},
IN_TM = #{inTm},
UP_TM = #{upTm},
APPR_UNIT = #{apprUnit},
ID = #{id}
update BIS_INSP_WIU_RGSTR
OBJ_ID = #{objId},
PROVINCE = #{province},
WIU_ID = #{wiuId},
WIU_NAME = #{wiuName},
AD_NAME = #{adName},
AD_CODE = #{adCode},
WIU_LOC = #{wiuLoc},
WIU_LONG = #{wiuLong},
WIU_LAT = #{wiuLat},
GD_X = #{gdX},
GD_Y = #{gdY},
WAT_LIC_CODE = #{watLicCode},
WIU_CONTACT = #{wiuContact},
WIU_CONTACT_TEL = #{wiuContactTel},
APPR_CONTACT = #{apprContact},
APPR_CONTACT_TEL = #{apprContactTel},
NOTE = #{note},
STATE = #{state},
DATA_STAT = #{dataStat},
INT_INFO_STAT = #{intInfoStat},
APPR_INFO_STAT = #{apprInfoStat},
PERS_ID = #{persId},
GROUP_ID = #{groupId},
IN_TM = #{inTm},
UP_TM = #{upTm},
APPR_UNIT = #{apprUnit},
and B.province like '${province}%'
and B.province is null
and ORG_ID=#{orgId}
and ORG_ID is null