|
@ -165,7 +165,7 @@ public class SignWebService extends BaseService {
|
|
" and f.expenses_status = '1' " +
|
|
" and f.expenses_status = '1' " +
|
|
" and f.status > 0 " +
|
|
" and f.status > 0 " +
|
|
" and f.type = 2 " +
|
|
" and f.type = 2 " +
|
|
" and (b.openid is null or LENGTH(trim(ifnull(b.openid,''))) < 1)";
|
|
|
|
|
|
" and LENGTH(trim(ifnull(b.openid,''))) < 1";
|
|
|
|
|
|
List<String> result = jdbcTemplate.queryForList(sql, new Object[]{doctor, doctor},String.class);
|
|
List<String> result = jdbcTemplate.queryForList(sql, new Object[]{doctor, doctor},String.class);
|
|
|
|
|
|
@ -199,7 +199,7 @@ public class SignWebService extends BaseService {
|
|
" (f.doctor = ? or f.doctor_health = ?)" +
|
|
" (f.doctor = ? or f.doctor_health = ?)" +
|
|
" and f.status > 0 " +
|
|
" and f.status > 0 " +
|
|
" and f.type = 2 " +
|
|
" and f.type = 2 " +
|
|
" and (f.expenses_status is null or LENGTH(trim(ifnull(f.expenses_status,''))) < 1)";
|
|
|
|
|
|
" and (f.expenses_status = 0 or LENGTH(trim(ifnull(f.expenses_status,''))) < 1)";
|
|
|
|
|
|
List<String> result = jdbcTemplate.queryForList(sql, new Object[]{doctor, doctor},String.class);
|
|
List<String> result = jdbcTemplate.queryForList(sql, new Object[]{doctor, doctor},String.class);
|
|
|
|
|