|
|
@@ -6,11 +6,13 @@ import com.dk.common.model.pojo.PageList;
|
|
|
import com.dk.common.response.ResponseResultUtil;
|
|
|
import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.mdm.infrastructure.convert.mst.DictionaryDataConvert;
|
|
|
+import com.dk.mdm.mapper.mst.MoneyAccountMapper;
|
|
|
import com.dk.mdm.model.pojo.mst.DictionaryData;
|
|
|
import com.dk.mdm.mapper.mst.DictionaryDataMapper;
|
|
|
import com.dk.common.service.BaseService;
|
|
|
import com.dk.common.mapper.BaseMapper;
|
|
|
import com.dk.mdm.model.query.mst.DictionaryDataQuery;
|
|
|
+import com.dk.mdm.model.query.mst.MoneyAccountQuery;
|
|
|
import com.dk.mdm.model.response.mst.DictionaryDataResponse;
|
|
|
import com.dk.mdm.model.vo.mst.DictionaryDataVO;
|
|
|
import com.dk.mdm.model.vo.mst.WarehouseVO;
|
|
|
@@ -20,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@Service
|
|
|
@@ -40,7 +43,8 @@ public class DictionaryDataService extends BaseService<DictionaryData> {
|
|
|
@Autowired
|
|
|
private DictionaryDataConvert dictionaryDataConvert;
|
|
|
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private MoneyAccountMapper moneyAccountMapper;
|
|
|
/**
|
|
|
* @desc : 重写主键
|
|
|
* @author : 于继渤
|
|
|
@@ -64,7 +68,10 @@ public class DictionaryDataService extends BaseService<DictionaryData> {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+ public ResponseResultVO<Long> countByCondMoneyAccount(String id) {
|
|
|
+ Long aLong = dictionaryDataMapper.countByCondMoneyAccount(id);
|
|
|
+ return ResponseResultUtil.success(aLong);
|
|
|
+ }
|
|
|
/**
|
|
|
* @desc : 新建
|
|
|
* @author : 于继渤
|