|
|
|
@ -68,7 +68,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
applyInfoList.setCreateBy(ShiroUtils.getSysUser().getUserName());
|
|
|
|
|
}
|
|
|
|
|
applyInfoList.setDeptId(ShiroUtils.getSysUser().getDeptId());
|
|
|
|
|
applyInfoList.setApplyStatus(0);
|
|
|
|
|
applyInfoList.setApplyStatus("0");
|
|
|
|
|
return applyInfoListService.saveOrUpdate(applyInfoList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -92,7 +92,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
public boolean submit(String applyId) {
|
|
|
|
|
return applyInfoListService.lambdaUpdate()
|
|
|
|
|
.eq(TdApplyInfoList::getApplyId,applyId)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,1)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,"1")
|
|
|
|
|
.set(TdApplyInfoList::getAppTime,new Date()).update();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -103,7 +103,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
public boolean submitAudit(String applyId) {
|
|
|
|
|
return applyInfoListService.lambdaUpdate()
|
|
|
|
|
.eq(TdApplyInfoList::getApplyId,applyId)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,2)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,"2")
|
|
|
|
|
.set(TdApplyInfoList::getAuthTime,new Date()).update();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -115,7 +115,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
public boolean goBack(String applyId,String applyMsg) {
|
|
|
|
|
return applyInfoListService.lambdaUpdate()
|
|
|
|
|
.eq(TdApplyInfoList::getApplyId,applyId)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,3)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,"3")
|
|
|
|
|
.set(Objects.nonNull(applyMsg), TdApplyInfoList::getApplyMsg, applyMsg)
|
|
|
|
|
.update();
|
|
|
|
|
}
|
|
|
|
@ -127,7 +127,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
public boolean submitPromise(String applyId) {
|
|
|
|
|
return applyInfoListService.lambdaUpdate()
|
|
|
|
|
.eq(TdApplyInfoList::getApplyId,applyId)
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,5).update();
|
|
|
|
|
.set(TdApplyInfoList::getApplyStatus,"5").update();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|