|
|
|
@ -356,7 +356,7 @@ public class UserInfoCmd {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
private String getCyqlNumNew(String employeeId) {
|
|
|
|
|
int count = 0;
|
|
|
|
|
double count = 0;
|
|
|
|
|
|
|
|
|
|
String sql = "select amount from uf_nj_cyqltjb where ry = ? and delete_type=0 and tenant_key = ?";
|
|
|
|
|
|
|
|
|
@ -370,10 +370,7 @@ public class UserInfoCmd {
|
|
|
|
|
|
|
|
|
|
List<Map<String,Object>> recordList = databaseUtils.getDataSourceList(result);
|
|
|
|
|
if(recordList.size()>0){
|
|
|
|
|
String amount = String.valueOf(recordList.get(0).get("amount"));
|
|
|
|
|
if(StringUtils.isNotBlank(amount)){
|
|
|
|
|
count = Util.getIntValue(amount);
|
|
|
|
|
}
|
|
|
|
|
count = Util.getDouleValue(recordList.get(0).get("amount"));
|
|
|
|
|
}
|
|
|
|
|
return count+"";
|
|
|
|
|
}
|
|
|
|
@ -446,7 +443,7 @@ public class UserInfoCmd {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
private String getPjMtgtcsNew(String employeeId) {
|
|
|
|
|
int count = 0;
|
|
|
|
|
double count = 0;
|
|
|
|
|
|
|
|
|
|
String sql = "select amount from uf_nj_pjmrdlhhsl where ry = ? and delete_type=0 and tenant_key = ?";
|
|
|
|
|
|
|
|
|
@ -460,10 +457,7 @@ public class UserInfoCmd {
|
|
|
|
|
|
|
|
|
|
List<Map<String,Object>> recordList = databaseUtils.getDataSourceList(result);
|
|
|
|
|
if(recordList.size()>0){
|
|
|
|
|
String amount = String.valueOf(recordList.get(0).get("amount"));
|
|
|
|
|
if(StringUtils.isNotBlank(amount)){
|
|
|
|
|
count = Util.getIntValue(amount);
|
|
|
|
|
}
|
|
|
|
|
count = Util.getDouleValue(recordList.get(0).get("amount"));
|
|
|
|
|
}
|
|
|
|
|
return count+"";
|
|
|
|
|
}
|
|
|
|
|