|
@@ -268,10 +268,10 @@ public class FgwShyjServiceImpl implements IFgwShyjService {
|
|
|
if ("Y".equals(isNt)){
|
|
|
String nttz = fgwJzqk.getNttz();
|
|
|
fgwXmsb.setNttz(nttz);
|
|
|
- String ntxmtc = fgwXmsb.getNtxmtc();
|
|
|
- if (StringUtils.isNotBlank(ntxmtc)){
|
|
|
- long result = Long.parseLong(ntxmtc) + Long.parseLong(nttz);
|
|
|
- fgwXmsb.setNtxmtc(String.valueOf(result));
|
|
|
+ Long ntxmtc = fgwXmsb.getNtxmtc();
|
|
|
+ if (ntxmtc != null){
|
|
|
+ long result = ntxmtc + Long.parseLong(nttz);
|
|
|
+ fgwXmsb.setNtxmtc(result);
|
|
|
}
|
|
|
//修改主表状态
|
|
|
fgwXmsbMapper.updateFgwXmsbStatus(fgwXmsb);
|