This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server: | |
| port: 7099 | |
| spring: | |
| application: | |
| name: seata-server | |
| logging: | |
| config: classpath:logback-spring.xml | |
| file: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lgd985.tx.advice; | |
| import com.lgd985.tx.common.R; | |
| import com.lgd985.tx.exception.BizException; | |
| import org.springframework.validation.BindingResult; | |
| import org.springframework.validation.FieldError; | |
| import org.springframework.web.bind.MethodArgumentNotValidException; | |
| import org.springframework.web.bind.annotation.ExceptionHandler; | |
| import org.springframework.web.bind.annotation.RestControllerAdvice; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lgd985.tx.exception; | |
| import lombok.Data; | |
| /** | |
| * @author 李建舜 | |
| * @version 1.0 | |
| * @date 2025/1/16 13:38 | |
| * @description | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lgd985.tx.exception; | |
| import lombok.Getter; | |
| /** | |
| * @author 李建舜 | |
| * @version 1.0 | |
| * @date 2025/1/16 13:39 | |
| * @description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lgd985.tx.common; | |
| import lombok.Data; | |
| /** | |
| * @author 李建舜 | |
| * @version 1.0 | |
| * @date 2025/1/16 13:24 | |
| * @description | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- phpMyAdmin SQL Dump | |
| -- version 4.5.1 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Host: 127.0.0.1 | |
| -- Generation Time: 2022-12-08 14:00:24 | |
| -- 服务器版本: 10.1.19-MariaDB | |
| -- B站 https://www.bilibili.com/video/BV1j5411o7xH/ | |
| -- PHP Version: 5.6.28 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # 股票盈利计算, 默认佣金按万2.5算 | |
| print ('================== 默认佣金为万2.5 ==================') | |
| # 佣金比率 万2.5 | |
| commission = 0.00025 | |
| buy_count = raw_input('请输入购买的数量:') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql -h127.0.0.1 -uroot -p --default-character-set=utf8 -e "SELECT customer_customer.short_name, sale_planorderitem.* FROM sale_planorder INNER JOIN customer_customer ON sale_planorder.customer_id=customer_customer.id INNER JOIN sale_planorderitem ON sale_planorderitem.order_id=sale_planorder.id | |
| WHERE customer_customer.short_name='客户名称' AND sale_planorder.add_time>='2019-08-01 00:00:00' AND sale_planorder.add_time<='2019-10-01 00:00:00' ORDER BY sale_planorder.add_time;" hey_star_crm > /Users/leo/Downloads/test.xls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE sale_planorderitem a | |
| INNER JOIN | |
| (SELECT b.id FROM sale_planorder b, customer_customer c WHERE c.short_name='客户名称' AND b.customer_id=c.id AND b.add_time>='2019-08-01 00:00:00' AND b.add_time<='2019-10-01 00:00:00') as t | |
| ON a.order_id=t.id SET a.total_price=a.unit_price*a.quantity |
NewerOlder