|
@@ -1,9 +1,11 @@
|
|
|
package com.dayou.service.impl;
|
|
|
|
|
|
+import com.dayou.common.DropDownBoxData;
|
|
|
import com.dayou.entity.TmplAssetCalculate;
|
|
|
import com.dayou.mapper.TmplAssetCalculateMapper;
|
|
|
import com.dayou.service.TmplAssetCalculateService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
@@ -27,6 +29,8 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
@Service
|
|
|
public class TmplAssetCalculateServiceImpl extends ServiceImpl<TmplAssetCalculateMapper, TmplAssetCalculate> implements TmplAssetCalculateService {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TmplAssetCalculateMapper tmplAssetCalculateMapper;
|
|
|
|
|
|
@Override
|
|
|
@SuppressWarnings("unchecked")
|
|
@@ -55,4 +59,13 @@ public class TmplAssetCalculateServiceImpl extends ServiceImpl<TmplAssetCalculat
|
|
|
//逻辑删除
|
|
|
return this.removeById(id);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取资产测算表的下拉框数据
|
|
|
+ * @return List<DropDownBoxData>
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public List<DropDownBoxData> getDropDownBoxData() {
|
|
|
+ return tmplAssetCalculateMapper.getDropDownBoxData();
|
|
|
+ }
|
|
|
}
|