|
|
@@ -459,10 +459,12 @@ public class performancetargetboard extends Controller {
|
|
|
BigDecimal zzproportion =BigDecimal.ZERO.divide(BigDecimal.valueOf(100));
|
|
|
// Rows salestargetbillrows =dbConnect.runSqlQuery("select * from sa_salestargetbill where siteid='"+siteid+"' and year="+year+" and targettype='人员目标'");
|
|
|
Rows rows = dbConnect.runSqlQuery("select * from sys_site_parameter where siteid='" + siteid + "'");
|
|
|
+ if(rows.isNotEmpty()){
|
|
|
+ gcproportion=rows.get(0).getBigDecimal("gcproportion");
|
|
|
+ zzproportion=rows.get(0).getBigDecimal("zzproportion");
|
|
|
+ }
|
|
|
if(months.isEmpty()){
|
|
|
if(rows.isNotEmpty()){
|
|
|
- gcproportion=rows.get(0).getBigDecimal("gcproportion");
|
|
|
- zzproportion=rows.get(0).getBigDecimal("zzproportion");
|
|
|
for(int i=1;i<=selectmonth;i++){
|
|
|
if(rows.get(0).getJSONArray("statistics_months").contains(i)){
|
|
|
months.add(i);
|