1、报表公式开发
This commit is contained in:
parent
0db6e3f4c5
commit
6cda406213
|
@ -64,9 +64,9 @@ public class FormulaOperatipnImpl implements FormulaOperatipnService {
|
||||||
int actualAmount = jsonObject.getInt("actual");
|
int actualAmount = jsonObject.getInt("actual");
|
||||||
log.info("actual: " + actualAmount);
|
log.info("actual: " + actualAmount);
|
||||||
resultStr = "{\n" +
|
resultStr = "{\n" +
|
||||||
" \"id\":"+key+"\n" +
|
" \""+key+"\":\n" +
|
||||||
" {\n" +
|
" {\n" +
|
||||||
" \"v\":"+actualAmount+"\n" +
|
" \"v\":"+actualAmount+",\n" +
|
||||||
" \"type\":1\n" +
|
" \"type\":1\n" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" } ";
|
" } ";
|
||||||
|
@ -76,9 +76,9 @@ public class FormulaOperatipnImpl implements FormulaOperatipnService {
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
resultStr = "{\n" +
|
resultStr = "{\n" +
|
||||||
" \"id\":"+key+"\n" +
|
" \""+key+"\":\n" +
|
||||||
" {\n" +
|
" {\n" +
|
||||||
" \"v\":"+0+"\n" +
|
" \"v\":"+0+",\n" +
|
||||||
" \"type\":-1\n" +
|
" \"type\":-1\n" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" } ";
|
" } ";
|
||||||
|
|
Loading…
Reference in New Issue