C005.23届0609怪
1.CompanySearchService.java 64-64
gigax 479a5bd2922b52f1b5d0cde70dd0eaacdb8063d7
List<Long> searchLadingId(@NotNull Long companyId);
//
List<Long> searchLadingId(long companyId);
原创大约 3 分钟
gigax 479a5bd2922b52f1b5d0cde70dd0eaacdb8063d7
List<Long> searchLadingId(@NotNull Long companyId);
//
List<Long> searchLadingId(long companyId);
gigax 6697d36f75f4ced94545489e61f8c3781ccf5ecd
@RequestMapping("/admin/parcel/company-name.json")
public R<?> searchCompanyName() {
Map<Long, String> map = companySearchService.searchName(TenantUtil.getTenantable());
return R.okData(map);
}
// 修改后
@PostMapping("/admin/parcel/company-name.json")
public R<Map<Long, String>> searchCompanyName() {
final Map<Long, String> map = companySearchService.searchName(TenantUtil.getTenantable());
return R.okData(map);
}
java/11.0.2-open 2019-01-18 16:22:01 /java.base/jdk/internal/loader/URLClassPath.java
Resource getResource(final String name, boolean check) {
final URL url;
try {
url = new URL(base, ParseUtil.encodePath(name, false));
} catch (MalformedURLException e) {
throw new IllegalArgumentException("name");
}
// ....
}
tail-backend 2022-08-18 18:39:03 /tail-common/pom.xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.2.8</version>
</dependency>
express-home 2022-07-27 20:11:22
//logger.info("ImptUspsFedexBillsService.importUspsFedexBills, deal data");
BigDecimal weightRaw = DecimalUtil.object(row.get(18), BigDecimal.ZERO); //包裹实量
BigDecimal weightIso = DecimalUtil.object(row.get(20), BigDecimal.ZERO); //计费重量
if ((weightIso.doubleValue() > 50.00 && weightIso.doubleValue() < 51.00)
|| (weightIso.doubleValue() > 100.00 && weightIso.doubleValue() < 101.00)
|| (weightIso.doubleValue() > 200.00 && weightIso.doubleValue() < 201.00)
|| (weightIso.doubleValue() > 300.00 && weightIso.doubleValue() < 301.00)
|| (weightIso.doubleValue() > 500.00 && weightIso.doubleValue() < 501.00)) {
weightIso = weightIso.setScale(0, BigDecimal.ROUND_UP);
}