1
0
mirror of synced 2026-02-09 12:17:54 +08:00

修复代码审查问题:统一错误消息格式和修正日期

Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-19 03:51:38 +00:00
parent 426c5e97f6
commit 773d10a50c
4 changed files with 6 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ import java.util.List;
* </pre>
*
* @author binarywang
* created on 2026/01/19
* created on 2025/01/19
*/
@Data
@Builder

View File

@@ -17,7 +17,7 @@ import java.io.Serializable;
* </pre>
*
* @author binarywang
* created on 2026/01/19
* created on 2025/01/19
*/
@Data
@NoArgsConstructor

View File

@@ -217,7 +217,7 @@ public class PayrollServiceImpl implements PayrollService {
}
}
} catch (IllegalBlockSizeException e) {
throw new RuntimeException("Sensitive information encryption failed!", e);
throw new RuntimeException("加密异常!", e);
}
String response = payService.postV3WithWechatpaySerial(url, GSON.toJson(request));
return GSON.fromJson(response, PayrollTransferBatchesResult.class);

View File

@@ -14,6 +14,8 @@ import lombok.extern.slf4j.Slf4j;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import java.util.Collections;
/**
* 微工卡(服务商)
*
@@ -136,7 +138,7 @@ public class PayrollServiceImplTest {
.batchRemark("2019年1月深圳分部报销单")
.totalAmount(200000L)
.totalNum(1)
.transferDetailList(java.util.Collections.singletonList(
.transferDetailList(Collections.singletonList(
PayrollTransferBatchesRequest.TransferDetail.builder()
.outDetailNo("x23zy545Bd5436" + System.currentTimeMillis())
.transferAmount(200000L)