2021-04-05

              

            

              

             

              

             

 

 insert into t_customer

(customer_name,contacts,phone_number,address,remarks)

   VALUES(#{customerName},#{contacts},#{phoneNumber},#{address},#{remarks})

delete

            from t_customer

            where t_customer.customer_id =#{customerId}

 

             UPDATE t_customer

               

                                     t_customer.customer_name =#{customerName},

                                

                                                            t_customer.contacts =#{contacts},

                                

                                   

                         t_customer.phone_number =#{phoneNumber},

                               

                                     t_customer.address =#{address},

                                   

                                        t_customer.remarks =#{remarks},

                              

                                 WHERE t_customer.customer_id =#{customerId}

 


你可能感兴趣的:(2021-04-05)