diff --git a/newadmin/dao-api/src/main/resources/mapper/TbPlussAdminRecodeMapper.xml b/newadmin/dao-api/src/main/resources/mapper/TbPlussAdminRecodeMapper.xml new file mode 100644 index 0000000..37b1652 --- /dev/null +++ b/newadmin/dao-api/src/main/resources/mapper/TbPlussAdminRecodeMapper.xml @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + id, user_id, operation_code, ip, remark, create_time, update_time + + + req_body, response_body + + + + delete from tb_pluss_admin_recode + where id = #{id,jdbcType=INTEGER} + + + insert into tb_pluss_admin_recode (id, user_id, operation_code, + ip, remark, create_time, + update_time, req_body, response_body + ) + values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{operationCode,jdbcType=VARCHAR}, + #{ip,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{updateTime,jdbcType=TIMESTAMP}, #{reqBody,jdbcType=LONGVARCHAR}, #{responseBody,jdbcType=LONGVARCHAR} + ) + + + insert into tb_pluss_admin_recode + + + id, + + + user_id, + + + operation_code, + + + ip, + + + remark, + + + create_time, + + + update_time, + + + req_body, + + + response_body, + + + + + #{id,jdbcType=INTEGER}, + + + #{userId,jdbcType=INTEGER}, + + + #{operationCode,jdbcType=VARCHAR}, + + + #{ip,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{reqBody,jdbcType=LONGVARCHAR}, + + + #{responseBody,jdbcType=LONGVARCHAR}, + + + + + update tb_pluss_admin_recode + + + user_id = #{userId,jdbcType=INTEGER}, + + + operation_code = #{operationCode,jdbcType=VARCHAR}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + req_body = #{reqBody,jdbcType=LONGVARCHAR}, + + + response_body = #{responseBody,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + update tb_pluss_admin_recode + set user_id = #{userId,jdbcType=INTEGER}, + operation_code = #{operationCode,jdbcType=VARCHAR}, + ip = #{ip,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_time = #{updateTime,jdbcType=TIMESTAMP}, + req_body = #{reqBody,jdbcType=LONGVARCHAR}, + response_body = #{responseBody,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=INTEGER} + + + update tb_pluss_admin_recode + set user_id = #{userId,jdbcType=INTEGER}, + operation_code = #{operationCode,jdbcType=VARCHAR}, + ip = #{ip,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + update_time = #{updateTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file