a.id AS "id", a.member_code AS "memberCode", a.member_name AS "memberName", a.content AS "content", a.content_value AS "contentValue", a.reissue_content_value AS "reissueContentValue", a.express_type AS "expressType", a.express_name AS "expressName", a.express_no AS "expressNo", a.address AS "address", a.postcode AS "postcode", a.receiver AS "receiver", a.receive_date AS "receiveDate", a.post_date AS "postDate", a.phone AS "phone", a.create_date AS "createDate", a.create_by AS "createBy.id", a.update_by AS "updateBy.id", a.update_date AS "updateDate", a.remarks AS "remarks", a.del_flag AS "delFlag", a.print_state AS "printState", a.send_remarks AS "sendRemarks", a.sender AS "sender", a.send_address AS "sendAddress", a.send_phone AS "sendPhone", a.sender_detail AS "senderDetail", a.other_express_no AS "otherExpressNo", a.province as "province", a.city as "city", a.area as "area", a.origincode as "origincode", a.destcode as "destcode", a.two_dimension_code as "twoDimensionCode", a.pro_code as "proCode", a.print_icon as "printIcon", a.dest_route_label as "destRouteLabel", a.dest_team_code as "destTeamCode", a.coding_mapping as "codingMapping", a.cloud_print_url AS "cloudPrintUrl" INSERT INTO sys_express_send( id, member_code, member_name, content, content_value, reissue_content_value, express_type, express_name, express_no, address, postcode, receiver, receive_date, post_date, phone, create_date, create_by, update_by, update_date, remarks, del_flag, send_remarks, sender, send_address, send_phone, sender_detail, other_express_no, province, city, area, origincode, destcode ) VALUES ( #{id}, #{memberCode}, #{memberName}, #{content}, #{contentValue}, #{reissueContentValue}, #{expressType}, #{expressName}, #{expressNo}, #{address}, #{postcode}, #{receiver}, #{receiveDate}, #{postDate}, #{phone}, #{createDate}, #{createBy.id}, #{updateBy.id}, #{updateDate}, #{remarks}, #{delFlag}, #{sendRemarks}, #{sender}, #{sendAddress}, #{sendPhone}, #{senderDetail}, #{otherExpressNo}, #{province}, #{city}, #{area}, #{origincode}, #{destcode} ) UPDATE sys_express_send SET member_code = #{memberCode}, member_name = #{memberName}, content = #{content}, content_value = #{contentValue}, reissue_content_value = #{reissueContentValue}, express_type = #{expressType}, express_name = #{expressName}, express_no = #{expressNo}, address = #{address}, postcode = #{postcode}, receiver = #{receiver}, receive_date = #{receiveDate}, post_date = #{postDate}, phone = #{phone}, update_by = #{updateBy.id}, update_date = #{updateDate}, remarks = #{remarks}, send_remarks = #{sendRemarks}, sender = #{sender}, send_address = #{sendAddress}, send_phone = #{sendPhone}, sender_detail = #{senderDetail}, other_express_no = #{otherExpressNo}, province = #{province}, city = #{city}, area = #{area}, origincode = #{origincode}, destcode = #{destcode} WHERE id = #{id} UPDATE sys_express_send SET remarks = concat(IFNULL(remarks,''),#{remarks}), del_flag = #{DEL_FLAG_DELETE} WHERE id = #{id} UPDATE sys_express_send SET print_state = #{printState} WHERE id = #{id} update sys_express_send set receive_date = #{receiveDate} where express_no = #{expressNo} update sys_express_send set cloud_print_url = #{url} where other_express_no = #{otherExpressNo}