Commit 135e80e1 authored by hongguangwu's avatar hongguangwu

EKP1.7.7-EKP退回薪资表,查找薪资表的状态,加删除状态的过滤

parent 2ffcfaea
...@@ -841,7 +841,9 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -841,7 +841,9 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
**/ **/
public R<String> backSalaryByApplyNo(String applyNo) { public R<String> backSalaryByApplyNo(String applyNo) {
if (Common.isNotNull(applyNo)) { if (Common.isNotNull(applyNo)) {
List<TSalaryStandard> salaryList = this.list(Wrappers.<TSalaryStandard>query().lambda().eq(TSalaryStandard::getApplyNo, applyNo)); List<TSalaryStandard> salaryList = this.list(Wrappers.<TSalaryStandard>query().lambda()
.eq(TSalaryStandard::getApplyNo, applyNo)
.eq(TSalaryStandard::getDeleteFlag, CommonConstants.ZERO_INT));
if (salaryList != null && !salaryList.isEmpty()) { if (salaryList != null && !salaryList.isEmpty()) {
TSalaryStandard ss = salaryList.get(0); TSalaryStandard ss = salaryList.get(0);
if (ss.getStatus() != SalaryConstants.STATUS[6]) { if (ss.getStatus() != SalaryConstants.STATUS[6]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment