2023年6月25日 修复报错
This commit is contained in:
parent
82b580f7d8
commit
02bd7e2a15
|
@ -159,7 +159,7 @@ public class TingKeStatisticsController {
|
||||||
String currentTkyq = currentData.getTkyq();
|
String currentTkyq = currentData.getTkyq();
|
||||||
if(StringUtils.isNotBlank(currentTkyq)){
|
if(StringUtils.isNotBlank(currentTkyq)){
|
||||||
int tkyq = Integer.parseInt(currentTkyq);
|
int tkyq = Integer.parseInt(currentTkyq);
|
||||||
int xtkyq = Integer.parseInt(x.getTkyq());
|
int xtkyq = Integer.parseInt(StringUtils.defaultString(x.getTkyq(),"0"));
|
||||||
x.setZwmc(currentZwmc + "、" + x.getZwmc());
|
x.setZwmc(currentZwmc + "、" + x.getZwmc());
|
||||||
if(tkyq > xtkyq){
|
if(tkyq > xtkyq){
|
||||||
x.setTkyq(String.valueOf(tkyq));
|
x.setTkyq(String.valueOf(tkyq));
|
||||||
|
@ -282,7 +282,7 @@ public class TingKeStatisticsController {
|
||||||
String currentTkyq = currentData.getTkyq();
|
String currentTkyq = currentData.getTkyq();
|
||||||
if(StringUtils.isNotBlank(currentTkyq)){
|
if(StringUtils.isNotBlank(currentTkyq)){
|
||||||
int tkyq = Integer.parseInt(currentTkyq);
|
int tkyq = Integer.parseInt(currentTkyq);
|
||||||
int xtkyq = Integer.parseInt(x.getTkyq());
|
int xtkyq = Integer.parseInt(StringUtils.defaultString(x.getTkyq(),"0"));
|
||||||
x.setZwmc(currentZwmc + "、" + x.getZwmc());
|
x.setZwmc(currentZwmc + "、" + x.getZwmc());
|
||||||
if(tkyq > xtkyq){
|
if(tkyq > xtkyq){
|
||||||
x.setTkyq(String.valueOf(tkyq));
|
x.setTkyq(String.valueOf(tkyq));
|
||||||
|
|
Loading…
Reference in New Issue