dyh_casedraft_person
id,
case_id,
party_user_id,
company_id,
per_type,
per_type_name,
per_class,
per_class_name,
true_name,
mobile,
orga_code,
deputy,
orga_type,
orga_type_name,
certi_type,
certi_type_name,
certi_no,
prov,
prov_name,
city,
city_name,
area,
area_name,
road,
road_name,
village,
village_name,
addr,
place_prov,
place_prov_name,
place_city,
place_city_name,
place_area,
place_area_name,
place_road,
place_road_name,
place_village,
place_village_name,
place_addr,
work_unit_id,
work_unit,
nation,
nation_name,
sex,
sex_name,
extreme,
avatar,
job,
job_name,
birthday,
age,
agent_status,
cust_id,
create_time,
update_time
case_id = #{entity.caseId},
party_user_id = #{entity.partyUserId},
company_id = #{entity.companyId},
per_type = #{entity.perType},
per_type_name = #{entity.perTypeName},
per_class = #{entity.perClass},
per_class_name = #{entity.perClassName},
true_name = #{entity.trueName},
mobile = #{entity.mobile},
orga_code = #{entity.orgaCode},
deputy = #{entity.deputy},
orga_type = #{entity.orgaType},
orga_type_name = #{entity.orgaTypeName},
certi_type = #{entity.certiType},
certi_type_name = #{entity.certiTypeName},
certi_no = #{entity.certiNo},
prov = #{entity.prov},
prov_name = #{entity.provName},
city = #{entity.city},
city_name = #{entity.cityName},
area = #{entity.area},
area_name = #{entity.areaName},
road = #{entity.road},
road_name = #{entity.roadName},
village = #{entity.village},
village_name = #{entity.villageName},
addr = #{entity.addr},
place_prov = #{entity.placeProv},
place_prov_name = #{entity.placeProvName},
place_city = #{entity.placeCity},
place_city_name = #{entity.placeCityName},
place_area = #{entity.placeArea},
place_area_name = #{entity.placeAreaName},
place_road = #{entity.placeRoad},
place_road_name = #{entity.placeRoadName},
place_village = #{entity.placeVillage},
place_village_name = #{entity.placeVillageName},
place_addr = #{entity.placeAddr},
work_unit_id = #{entity.workUnitId},
work_unit = #{entity.workUnit},
nation = #{entity.nation},
nation_name = #{entity.nationName},
sex = #{entity.sex},
sex_name = #{entity.sexName},
extreme = #{entity.extreme},
avatar = #{entity.avatar},
job = #{entity.job},
job_name = #{entity.jobName},
birthday = #{entity.birthday},
age = #{entity.age},
agent_status = #{entity.agentStatus},
cust_id = #{entity.custId},
create_time = #{entity.createTime},
update_time = #{entity.updateTime}
and id = #{terms.id}
and case_id = #{terms.caseId}
and party_user_id = #{terms.partyUserId}
and company_id = #{terms.companyId}
and per_type = #{terms.perType}
and per_type_name = #{terms.perTypeName}
and per_class = #{terms.perClass}
and per_class_name = #{terms.perClassName}
and true_name = #{terms.trueName}
and mobile = #{terms.mobile}
and orga_code = #{terms.orgaCode}
and deputy = #{terms.deputy}
and orga_type = #{terms.orgaType}
and orga_type_name = #{terms.orgaTypeName}
and certi_type = #{terms.certiType}
and certi_type_name = #{terms.certiTypeName}
and certi_no = #{terms.certiNo}
and prov = #{terms.prov}
and prov_name = #{terms.provName}
and city = #{terms.city}
and city_name = #{terms.cityName}
and area = #{terms.area}
and area_name = #{terms.areaName}
and road = #{terms.road}
and road_name = #{terms.roadName}
and village = #{terms.village}
and village_name = #{terms.villageName}
and addr = #{terms.addr}
and place_prov = #{terms.placeProv}
and place_prov_name = #{terms.placeProvName}
and place_city = #{terms.placeCity}
and place_city_name = #{terms.placeCityName}
and place_area = #{terms.placeArea}
and place_area_name = #{terms.placeAreaName}
and place_road = #{terms.placeRoad}
and place_road_name = #{terms.placeRoadName}
and place_village = #{terms.placeVillage}
and place_village_name = #{terms.placeVillageName}
and place_addr = #{terms.placeAddr}
and work_unit_id = #{terms.workUnitId}
and work_unit = #{terms.workUnit}
and nation = #{terms.nation}
and nation_name = #{terms.nationName}
and sex = #{terms.sex}
and sex_name = #{terms.sexName}
and extreme = #{terms.extreme}
and avatar = #{terms.avatar}
and job = #{terms.job}
and job_name = #{terms.jobName}
and birthday = #{terms.birthday}
and age = #{terms.age}
and agent_status = #{terms.agentStatus}
and cust_id = #{terms.custId}
and DATE_FORMAT(create_time,'%Y-%m-%d') = #{terms.createTime}
and (DATE_FORMAT(create_time,'%Y-%m-%d') = ]]> #{terms.createStart}
and DATE_FORMAT(create_time,'%Y-%m-%d') #{terms.createEnd})
and DATE_FORMAT(update_time,'%Y-%m-%d') = #{terms.updateTime}
and (DATE_FORMAT(update_time,'%Y-%m-%d') = ]]> #{terms.updateStart}
and DATE_FORMAT(update_time,'%Y-%m-%d') #{terms.updateEnd})
update
id = #{entity.id}
update
delete from
where id = #{id}