项目评估流程

This commit is contained in:
yuezhihang
2021-12-02 10:26:18 +08:00
parent 036e413204
commit 7cc898aec6
@@ -62,7 +62,7 @@ public class PEPDepartLeaderAfter implements TaskListener {
JSONObject object1=JSONObject.parseObject(dataList.getString(i));
//未符合项整改 保存
//在研不合规
if (null!=object1.getString("noCompliance")) {
if (null!=object1.getString("noCompliance") && !"".equals(object1.getString("noCompliance"))) {
SarStandUnqualified sarStandUnqualified = new SarStandUnqualified();
//少一个standId 不合格原因 在研在产!
sarStandUnqualified.setStandId(delegateTask.getVariable("standsId",String.class));
@@ -86,7 +86,7 @@ public class PEPDepartLeaderAfter implements TaskListener {
sarStandUnqualifieds.add(sarStandUnqualified);
}
if (null!=object1.getString("zcNoCompliance")) {
if (null!=object1.getString("zcNoCompliance") && !"".equals(object1.getString("zcNoCompliance"))) {
SarStandUnqualified sarStandUnqualified = new SarStandUnqualified();
//少一个standId 不合格原因 在研在产!
sarStandUnqualified.setStandId(delegateTask.getVariable("standsId",String.class));