diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdCgfyMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdCgfyMapper.xml index ec273d5f..0355c78d 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdCgfyMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdCgfyMapper.xml @@ -1,5 +1,124 @@ - + + + id,type,number,name,pages,cost + + + + + + and id = #{id} + + + and type like concat('%',#{type},'%') + + + and number like concat('%',#{number},'%') + + + and name like concat('%',#{name},'%') + + + and pages = #{pages} + + + and cost = #{cost} + + + + + + + + + + + + update wgd_cgfy + + + type = #{type}, + + + number = #{number}, + + + name = #{name}, + + + pages = #{pages}, + + + cost = #{cost}, + + + where id = #{id} + + + + insert into wgd_cgfy + + + id, + + + type, + + + number, + + + name, + + + pages, + + + cost, + + + values + + + #{id}, + + + #{type}, + + + #{number}, + + + #{name}, + + + #{pages}, + + + #{cost}, + + + + + + delete from wgd_cgfy where id = #{id} + + + + delete from wgd_cgfy where id in + + #{id} + + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdFyfyMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdFyfyMapper.xml index 29b21b50..5785e9c6 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdFyfyMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdFyfyMapper.xml @@ -1,5 +1,135 @@ - + + + id,type,number,name,pages,cost,time + + + + + + and id = #{id} + + + and type like concat('%',#{type},'%') + + + and number like concat('%',#{number},'%') + + + and name like concat('%',#{name},'%') + + + and pages = #{pages} + + + and cost = #{cost} + + + and time = #{time} + + + + + + + + + + + + update wgd_fyfy + + + type = #{type}, + + + number = #{number}, + + + name = #{name}, + + + pages = #{pages}, + + + cost = #{cost}, + + + time = #{time}, + + + where id = #{id} + + + + insert into wgd_fyfy + + + id, + + + type, + + + number, + + + name, + + + pages, + + + cost, + + + time, + + + values + + + #{id}, + + + #{type}, + + + #{number}, + + + #{name}, + + + #{pages}, + + + #{cost}, + + + #{time}, + + + + + + delete from wgd_fyfy where id = #{id} + + + + delete from wgd_fyfy where id in + + #{id} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdSrbMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdSrbMapper.xml index 4b18592a..b03f2d77 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdSrbMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdSrbMapper.xml @@ -1,5 +1,127 @@ + + + id,name,number,source,cost,time + + + + + + and id = #{id} + + + and name like concat('%',#{name},'%') + + + and number like concat('%',#{number},'%') + + + + and source = #{source} + + + and cost = #{cost} + + + and time = #{time} + + + + + + + + + + + + update wgd_srb + + + name = #{name}, + + + number = #{number}, + + + source = #{source}, + + + cost = #{cost}, + + + time = #{time}, + + + where id = #{id} + + + + insert into wgd_srb + + + id, + + + name, + + + number, + + + + source, + + + cost, + + + time, + + + values + + + #{id}, + + + #{name}, + + + #{number}, + + + + #{source}, + + + #{cost}, + + + #{time}, + + + + + + delete from wgd_srb where id = #{id} + + + + delete from wgd_srb where id in + + #{id} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbtjMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbtjMapper.xml index 5cf1f0c7..bb9deeca 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbtjMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbtjMapper.xml @@ -1,5 +1,219 @@ - + + + id,host,meeting,time,place,contributions,occurs,expenses,user,leadership,participants,information,recording,Issues + + + + + + and id = #{id} + + + and host like concat('%',#{host},'%') + + + and meeting like concat('%',#{meeting},'%') + + + and time like concat('%',#{time},'%') + + + and place = #{place} + + + and contributions = #{contributions} + + + and occurs = #{occurs} + + + and expenses = #{expenses} + + + and user = #{user} + + + and leadership = #{leadership} + + + and participants = #{participants} + + + and information = #{information} + + + and recording = #{recording} + + + and Issues = #{Issues} + + + + + + + + + + + + update wgd_wbtj + + + host = #{host}, + + + meeting = #{meeting}, + + + time = #{time}, + + + place = #{place}, + + + contributions = #{contributions}, + + + occurs = #{occurs}, + + + expenses = #{expenses}, + + + user = #{user}, + + + leadership = #{leadership}, + + + participants = #{participants}, + + + information = #{information}, + + + recording = #{recording}, + + + Issues = #{Issues}, + + + where id = #{id} + + + + insert into wgd_wbtj + + + id, + + + host, + + + meeting, + + + time, + + + place, + + + contributions, + + + occurs, + + + expenses, + + + user, + + + leadership, + + + participants, + + + information, + + + recording, + + + Issues, + + + values + + + #{id}, + + + #{host}, + + + #{meeting}, + + + #{time}, + + + #{place}, + + + #{contributions}, + + + #{occurs}, + + + #{expenses}, + + + #{user}, + + + #{leadership}, + + + #{participants}, + + + #{information}, + + + #{recording}, + + + #{Issues}, + + + + + + delete from wgd_wbtj where id = #{id} + + + + delete from wgd_wbtj where id in + + #{id} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbxdMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbxdMapper.xml index 96b72f75..fbfc54a7 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbxdMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdWbxdMapper.xml @@ -1,5 +1,316 @@ + + + id,stage,number,name,project_id,project_name,type,preside,data_start,data_implement,body,drafting,data_record,report,participants,celebrity,cost_marking,cost_other,revised,status,signature,remark + + + + + + and id = #{id} + + + and stage like concat('%',#{stage},'%') + + + and number like concat('%',#{number},'%') + + + and name like concat('%',#{name},'%') + + + and project_id = #{project_id} + + + and project_name = #{project_name} + + + and type = #{type} + + + and preside = #{preside} + + + and data_start = #{data_start} + + + and data_implement = #{data_implement} + + + and body = #{body} + + + and drafting = #{drafting} + + + and data_record = #{data_record} + + + and report = #{report} + + + and participants = #{participants} + + + and celebrity = #{celebrity} + + + and cost_marking = #{cost_marking} + + + and cost_other = #{cost_other} + + + and revised = #{revised} + + + and status = #{status} + + + and signature = #{signature} + + + and remark = #{remark} + + + + + + + + + + + + update wgd_wbxd + + + stage = #{stage}, + + + number = #{number}, + + + name = #{name}, + + + project_id = #{project_id}, + + + project_name = #{project_name}, + + + type = #{type}, + + + preside = #{preside}, + + + data_start = #{data_start}, + + + data_implement = #{data_implement}, + + + body = #{body}, + + + drafting = #{drafting}, + + + data_record = #{data_record}, + + + report = #{report}, + + + participants = #{participants}, + + + celebrity = #{celebrity}, + + + cost_marking = #{cost_marking}, + + + cost_other = #{cost_other}, + + + revised = #{revised}, + + + status = #{status}, + + + signature = #{signature}, + + + remark = #{remark}, + + + where id = #{id} + + + + insert into wgd_wbxd + + + id, + + + stage, + + + number, + + + name, + + + project_id, + + + project_name, + + + type, + + + preside, + + + data_start, + + + data_implement, + + + body, + + + drafting, + + + data_record, + + + report, + + + participants, + + + celebrity, + + + cost_marking, + + + cost_other, + + + revised, + + + status, + + + signature, + + + remark, + + + values + + + #{id}, + + + #{stage}, + + + #{number}, + + + #{name}, + + + #{project_id}, + + + #{project_name}, + + + #{type}, + + + #{preside}, + + + #{data_start}, + + + #{data_implement}, + + + #{body}, + + + #{drafting}, + + + #{data_record}, + + + #{report}, + + + #{participants}, + + + #{celebrity}, + + + #{cost_marking}, + + + #{cost_other}, + + + #{revised}, + + + #{status}, + + + #{signature}, + + + #{remark}, + + + + + + delete from wgd_wbxd where id = #{id} + + + + delete from wgd_wbxd where id in + + #{id} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdZcbMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdZcbMapper.xml index f8c09d9e..ad2b80ea 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdZcbMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgdCensusLeo/WgdZcbMapper.xml @@ -1,5 +1,115 @@ - + + + id,name,cost,use,annex + + + + + + and id = #{id} + + + and name like concat('%',#{name},'%') + + + and cost like concat('%',#{cost},'%') + + + and use like concat('%',#{use},'%') + + + and annex = #{annex} + + + + + + + + + + + + + update wgd_zcb + + + name = #{name}, + + + cost = #{cost}, + + + use = #{use}, + + + annex = #{annex}, + + + + where id = #{id} + + + + insert into wgd_zcb + + + id, + + + name, + + + cost, + + + use, + + + annex, + + + + values + + + #{id}, + + + #{name}, + + + #{cost}, + + + #{use}, + + + #{annex}, + + + + + + + delete from wgd_zcb where id = #{id} + + + + delete from wgd_zcb where id in + + #{id} + +