dyh_ct_user
id,
true_name,
sex,
sex_name,
mobile,
idcard,
email,
wechat,
qq,
prov,
prov_name,
city,
city_name,
area,
area_name,
road,
road_name,
village,
village_name,
addr,
avatar,
acc,
unit_id,
unit_name,
dept_id,
dept_name,
dept_type,
join_way,
real_status,
face_status,
status,
good_field,
good_field_name,
can_field,
can_field_name,
find_status,
disp_status,
count_case,
delete_status,
cust_id,
create_time,
update_time
true_name = #{entity.trueName},
sex = #{entity.sex},
sex_name = #{entity.sexName},
mobile = #{entity.mobile},
idcard = #{entity.idcard},
email = #{entity.email},
wechat = #{entity.wechat},
qq = #{entity.qq},
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},
avatar = #{entity.avatar},
acc = #{entity.acc},
unit_id = #{entity.unitId},
unit_name = #{entity.unitName},
dept_id = #{entity.deptId},
dept_name = #{entity.deptName},
dept_type = #{entity.deptType},
join_way = #{entity.joinWay},
real_status = #{entity.realStatus},
face_status = #{entity.faceStatus},
status = #{entity.status},
good_field = #{entity.goodField},
good_field_name = #{entity.goodFieldName},
can_field = #{entity.canField},
can_field_name = #{entity.canFieldName},
find_status = #{entity.findStatus},
disp_status = #{entity.dispStatus},
count_case = #{entity.countCase},
delete_status = #{entity.deleteStatus},
cust_id = #{entity.custId},
create_time = #{entity.createTime},
update_time = #{entity.updateTime}
and id = #{terms.id}
and true_name = #{terms.trueName}
and sex = #{terms.sex}
and sex_name = #{terms.sexName}
and mobile = #{terms.mobile}
and idcard = #{terms.idcard}
and email = #{terms.email}
and wechat = #{terms.wechat}
and qq = #{terms.qq}
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 avatar = #{terms.avatar}
and acc = #{terms.acc}
and unit_id = #{terms.unitId}
and unit_name = #{terms.unitName}
and dept_id = #{terms.deptId}
and dept_name = #{terms.deptName}
and dept_type = #{terms.deptType}
and join_way = #{terms.joinWay}
and real_status = #{terms.realStatus}
and face_status = #{terms.faceStatus}
and status = #{terms.status}
and good_field = #{terms.goodField}
and good_field_name = #{terms.goodFieldName}
and can_field = #{terms.canField}
and can_field_name = #{terms.canFieldName}
and find_status = #{terms.findStatus}
and disp_status = #{terms.dispStatus}
and count_case = #{terms.countCase}
and delete_status = '1'
and delete_status = #{terms.deleteStatus}
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}