|
|
@ -1044,18 +1044,18 @@ public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**去掉测量值0**/
|
|
|
|
/**去掉测量值0**/
|
|
|
|
String actualValueStr = detail.getActualValue();
|
|
|
|
// String actualValueStr = detail.getActualValue();
|
|
|
|
if(StringUtils.isNotBlank(actualValueStr)){
|
|
|
|
// if(StringUtils.isNotBlank(actualValueStr)){
|
|
|
|
if(actualValueStr.indexOf("[")>=0 && actualValueStr.indexOf("]")>=0){
|
|
|
|
// if(actualValueStr.indexOf("[")>=0 && actualValueStr.indexOf("]")>=0){
|
|
|
|
JSONArray codeArray = JSONArray.parseArray(actualValueStr);
|
|
|
|
// JSONArray codeArray = JSONArray.parseArray(actualValueStr);
|
|
|
|
for (int c1 = 0; c1 < codeArray.size(); c1++) {
|
|
|
|
// for (int c1 = 0; c1 < codeArray.size(); c1++) {
|
|
|
|
if(codeArray.get(c1).toString().indexOf(":0")>=0&&codeArray.get(c1).toString().indexOf(".")<0) {
|
|
|
|
// if(codeArray.get(c1).toString().indexOf(":0")>=0&&codeArray.get(c1).toString().indexOf(".")<0) {
|
|
|
|
codeArray.remove(codeArray.get(c1));
|
|
|
|
// codeArray.remove(codeArray.get(c1));
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
detail.setActualValue(JSONArray.toJSONString(codeArray));
|
|
|
|
// detail.setActualValue(JSONArray.toJSONString(codeArray));
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(qcCheckTaskIncome.getSampleQuality()!=null && qcCheckTaskIncome.getSampleQuality().equals(BigDecimal.ZERO)){
|
|
|
|
if(qcCheckTaskIncome.getSampleQuality()!=null && qcCheckTaskIncome.getSampleQuality().equals(BigDecimal.ZERO)){
|
|
|
|