|
@@ -22,6 +22,7 @@ public class NextApproverImpl {
|
|
|
* @return 结果
|
|
|
*/
|
|
|
public boolean submitTask1(String a1, String a2, String a3) {
|
|
|
+ System.out.println("进入方法submitTask1----------------->" + "a1:" + a1 + "-----------a2:" + a2 + "-----------a3:" + a3);
|
|
|
DeptAssessmentDeclaration deptAssessmentDeclaration = deptAssessmentDeclarationService.getById(a1);
|
|
|
boolean flag = !deptAssessmentDeclaration.getDeclarationLevel().equals(deptAssessmentDeclaration.getRatingGrade());
|
|
|
return flag;
|
|
@@ -33,6 +34,7 @@ public class NextApproverImpl {
|
|
|
* @return 结果
|
|
|
*/
|
|
|
public boolean submitTask2(String a1, String a2, String a3) {
|
|
|
+ System.out.println("进入方法submitTask2----------------->" + "a1:" + a1 + "-----------a2:" + a2 + "-----------a3:" + a3);
|
|
|
DeptAssessmentDeclaration deptAssessmentDeclaration = deptAssessmentDeclarationService.getById(a1);
|
|
|
boolean flag = deptAssessmentDeclaration.getDeclarationLevel().equals(deptAssessmentDeclaration.getRatingGrade());
|
|
|
return flag;
|