从我的评估拿数据改成从我的考察
This commit is contained in:
parent
129c22f002
commit
b42bc3afb8
|
@ -31,9 +31,8 @@ public class BringScoreDescribeSummaryPlugin extends AbstractBillPlugIn implemen
|
||||||
DynamicObject dataEntity = this.getModel().getDataEntity();
|
DynamicObject dataEntity = this.getModel().getDataEntity();
|
||||||
DynamicObject examTaskSummary = QueryServiceHelper.queryOne("resm_examtask_summary", "id", (new QFilter("evaltask", "=", dataEntity.getPkValue())).toArray());
|
DynamicObject examTaskSummary = QueryServiceHelper.queryOne("resm_examtask_summary", "id", (new QFilter("evaltask", "=", dataEntity.getPkValue())).toArray());
|
||||||
if (examTaskSummary == null) {
|
if (examTaskSummary == null) {
|
||||||
boolean isStandard = StringUtils.equals("standard", dataEntity.getString("evalscheme.scoremethod"));
|
|
||||||
if (!StringUtils.isEmpty(openType) && "sumup".equals(openType) && "ORDERED".equals(billStatus)) {
|
if (!StringUtils.isEmpty(openType) && "sumup".equals(openType) && "ORDERED".equals(billStatus)) {
|
||||||
DynamicObject[] myEvals = BusinessDataServiceHelper.load("resm_myeval", "creator.name,evalrole,entry_evalscore.score,entry_evalscore.evalindex,entry_evalscore.scoredesc,entry_evalscore.evalator,entry_evalscore.evalator.name,opinionplus", new QFilter[]{new QFilter("evaltask", "=", dataEntity.getPkValue())});
|
DynamicObject[] myEvals = BusinessDataServiceHelper.load("resm_myexam", "creator.name,evalrole,entry_evalscore.score,entry_evalscore.evalindex,entry_evalscore.coredesc,entry_evalscore.qeug_scoredesc,entry_evalscore.evalator,entry_evalscore.evalator.name,opinionplus", new QFilter[]{new QFilter("evaltask", "=", dataEntity.getPkValue())});
|
||||||
DynamicObjectCollection evalDetailEntry = this.getModel().getEntryEntity("entry_evaldetail");
|
DynamicObjectCollection evalDetailEntry = this.getModel().getEntryEntity("entry_evaldetail");
|
||||||
|
|
||||||
for (int i = 0; i < evalDetailEntry.size(); ++i) {
|
for (int i = 0; i < evalDetailEntry.size(); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue