|
@@ -1,5 +1,6 @@
|
|
package com.ym.mec.biz.service.impl;
|
|
package com.ym.mec.biz.service.impl;
|
|
|
|
|
|
|
|
+import com.ym.mec.biz.service.ContractService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -24,7 +25,7 @@ public class SysUserContractsServiceImpl extends BaseServiceImpl<Long, SysUserCo
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public List<SysUserContracts> getUserContractWithType(Integer userId, SysUserContracts.ContractType contractType) {
|
|
public List<SysUserContracts> getUserContractWithType(Integer userId, SysUserContracts.ContractType contractType) {
|
|
- return sysUserContractsDao.getUserContractWithType(userId, contractType);
|
|
|
|
|
|
+ return sysUserContractsDao.getUserContractWithType(userId, contractType, ContractService.CONTRACT_VERSION);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|