|
@@ -78,17 +78,17 @@ public class MoneyIncomeServiceImpl extends ServiceImpl<MoneyIncomeMapper, Money
|
|
} else {
|
|
} else {
|
|
for (MoneyBusiness business : businesses) {
|
|
for (MoneyBusiness business : businesses) {
|
|
if (business.getOrgId() != null) {
|
|
if (business.getOrgId() != null) {
|
|
- if (business.getOrgId().equals("1543842934270394368")) {
|
|
|
|
|
|
+ if ("1891303052992876545".equals(business.getOrgId())) {
|
|
BigDecimal bg1 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg1 = new BigDecimal(business.getBusinessIncome());
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
incomeVo.setShengWu(bg1.toString());
|
|
incomeVo.setShengWu(bg1.toString());
|
|
actual = actual + Double.valueOf(business.getBusinessIncome());
|
|
actual = actual + Double.valueOf(business.getBusinessIncome());
|
|
- } else if (business.getOrgId().equals("1856160630562635777")) {
|
|
|
|
|
|
+ } else if ("1856160630562635777".equals(business.getOrgId())) {
|
|
BigDecimal bg2 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg2 = new BigDecimal(business.getBusinessIncome());
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
incomeVo.setYingYang(bg2.toString());
|
|
incomeVo.setYingYang(bg2.toString());
|
|
actual = actual + Double.valueOf(business.getBusinessIncome());
|
|
actual = actual + Double.valueOf(business.getBusinessIncome());
|
|
- } else if (business.getOrgId().equals("1856160687106048001")) {
|
|
|
|
|
|
+ } else if ("1856160687106048001".equals(business.getOrgId())) {
|
|
BigDecimal bg3 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg3 = new BigDecimal(business.getBusinessIncome());
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
incomeVo.setXiaSha(bg3.toString());
|
|
incomeVo.setXiaSha(bg3.toString());
|
|
@@ -143,19 +143,19 @@ public class MoneyIncomeServiceImpl extends ServiceImpl<MoneyIncomeMapper, Money
|
|
income2.setYearTarget("0");
|
|
income2.setYearTarget("0");
|
|
} else {
|
|
} else {
|
|
for (MoneyIncome moneyIncome : incomes) {
|
|
for (MoneyIncome moneyIncome : incomes) {
|
|
- if (moneyIncome.getOrgId().equals("1891303052992876545")) {
|
|
|
|
|
|
+ if ("1891303052992876545".equals(moneyIncome.getOrgId())) {
|
|
BigDecimal bg1 = new BigDecimal(moneyIncome.getYearTarget());
|
|
BigDecimal bg1 = new BigDecimal(moneyIncome.getYearTarget());
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
income.setYearTarget(bg1.toString());
|
|
income.setYearTarget(bg1.toString());
|
|
income.setCompanyName(moneyIncome.getCompanyName());
|
|
income.setCompanyName(moneyIncome.getCompanyName());
|
|
income.setCompanyType(1);
|
|
income.setCompanyType(1);
|
|
- } else if (moneyIncome.getOrgId().equals("1856160630562635777")) {
|
|
|
|
|
|
+ } else if ("1856160630562635777".equals(moneyIncome.getOrgId())) {
|
|
BigDecimal bg2 = new BigDecimal(moneyIncome.getYearTarget());
|
|
BigDecimal bg2 = new BigDecimal(moneyIncome.getYearTarget());
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
income1.setYearTarget(bg2.toString());
|
|
income1.setYearTarget(bg2.toString());
|
|
income1.setCompanyName(moneyIncome.getCompanyName());
|
|
income1.setCompanyName(moneyIncome.getCompanyName());
|
|
income1.setCompanyType(2);
|
|
income1.setCompanyType(2);
|
|
- } else if (moneyIncome.getOrgId().equals("1856160687106048001")) {
|
|
|
|
|
|
+ } else if ("1856160687106048001".equals(moneyIncome.getOrgId())) {
|
|
BigDecimal bg3 = new BigDecimal(moneyIncome.getYearTarget());
|
|
BigDecimal bg3 = new BigDecimal(moneyIncome.getYearTarget());
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
income2.setYearTarget(bg3.toString());
|
|
income2.setYearTarget(bg3.toString());
|
|
@@ -175,15 +175,15 @@ public class MoneyIncomeServiceImpl extends ServiceImpl<MoneyIncomeMapper, Money
|
|
} else {
|
|
} else {
|
|
for (MoneyBusiness business : businesses) {
|
|
for (MoneyBusiness business : businesses) {
|
|
if (business.getOrgId() != null) {
|
|
if (business.getOrgId() != null) {
|
|
- if (business.getOrgId().equals("1891303052992876545")) {
|
|
|
|
|
|
+ if ("1891303052992876545".equals(business.getOrgId())) {
|
|
BigDecimal bg1 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg1 = new BigDecimal(business.getBusinessIncome());
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg1 = bg1.divide(math, 2, RoundingMode.HALF_UP);
|
|
income.setYearActual(bg1.toString());
|
|
income.setYearActual(bg1.toString());
|
|
- } else if (business.getOrgId().equals("1856160630562635777")) {
|
|
|
|
|
|
+ } else if ("1856160630562635777".equals(business.getOrgId())) {
|
|
BigDecimal bg2 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg2 = new BigDecimal(business.getBusinessIncome());
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg2 = bg2.divide(math, 2, RoundingMode.HALF_UP);
|
|
income1.setYearActual(bg2.toString());
|
|
income1.setYearActual(bg2.toString());
|
|
- } else if (business.getOrgId().equals("1856160687106048001")) {
|
|
|
|
|
|
+ } else if ("1856160687106048001".equals(business.getOrgId())) {
|
|
BigDecimal bg3 = new BigDecimal(business.getBusinessIncome());
|
|
BigDecimal bg3 = new BigDecimal(business.getBusinessIncome());
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
bg3 = bg3.divide(math, 2, RoundingMode.HALF_UP);
|
|
income2.setYearActual(bg3.toString());
|
|
income2.setYearActual(bg3.toString());
|