a.id,
a.com_id AS "comId",
a.company_id AS "company.id",
a.office_id AS "office.id",
a.login_name,
a.password,
a.password_remake AS "passwordRemake",
a.no,
a.name,
a.sex,
a.email,
a.phone,
a.mobile,
a.ishide,
a.user_type,
a.login_ip,
a.login_date,
a.remarks,
a.login_flag,
a.photo,
a.default_photo,
a.qrcode,
a.sign,
a.create_by AS "createBy.id",
a.create_date,
a.update_by AS "updateBy.id",
a.update_date,
a.del_flag,
a.first_flag AS "firstFlag",
s.name AS "company.name",
s.parent_id AS "company.parent.id",
s.parent_ids AS "company.parentIds",
s.group_id AS "company.groupId",
s.group_name AS "company.groupName",
s.useable AS "company.useable",
o.name AS "office.name",
o.top_company AS "office.topCompany",
o.parent_id AS "office.parent.id",
o.parent_ids AS "office.parentIds",
bo.id AS "branchOffice.id",
bo.name AS "branchOffice.name",
bo.parent_ids AS "branchOffice.parentIds",
bo.parent_id AS "branchOffice.parent.id"
a.id AS "id",
a.create_by AS "createBy.id",
a.create_date AS "createDate",
a.update_by AS "updateBy.id",
a.update_date AS "updateDate",
a.remarks AS "remarks",
a.team AS "team",
a.department AS "department",
a.specific AS "specific",
a.correlationId AS "correlationId"
INSERT INTO the_order_information(
id,
create_by,
create_date,
update_by,
update_date,
remarks,
team,
department,
`specific`,
correlationId
) VALUES (
#{id},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{remarks},
#{team},
#{department},
#{specific},
#{correlationId}
)
UPDATE the_order_information SET
update_date = #{updateDate},
team = #{team},
department = #{department},
`specific` = #{specific}
WHERE correlationId = #{correlationId}