|
@@ -1,5 +1,7 @@
|
|
package cn.ezhizao.project.business.service.impl;
|
|
package cn.ezhizao.project.business.service.impl;
|
|
|
|
|
|
|
|
+import cn.ezhizao.framework.aspectj.lang.annotation.DataSource;
|
|
|
|
+import cn.ezhizao.framework.aspectj.lang.enums.DataSourceType;
|
|
import cn.ezhizao.project.business.domain.Sfc10500;
|
|
import cn.ezhizao.project.business.domain.Sfc10500;
|
|
import cn.ezhizao.project.business.mapper.Sfc10500Mapper;
|
|
import cn.ezhizao.project.business.mapper.Sfc10500Mapper;
|
|
import cn.ezhizao.project.business.service.ISfc10500Service;
|
|
import cn.ezhizao.project.business.service.ISfc10500Service;
|
|
@@ -18,6 +20,7 @@ public class Sfc10500ServiceImpl extends ServiceImpl<Sfc10500Mapper, Sfc10500> i
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
+ @DataSource(value = DataSourceType.SLAVE)
|
|
public BigDecimal getLotMount(Sfc10500 sfc10500) {
|
|
public BigDecimal getLotMount(Sfc10500 sfc10500) {
|
|
return sfc10500Mapper.getLotMount(sfc10500);
|
|
return sfc10500Mapper.getLotMount(sfc10500);
|
|
}
|
|
}
|