|
@ -173,7 +173,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
*/
|
|
|
public Map<String,Object> getTowmRenewTotals(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient " +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard " +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and " +
|
|
@ -199,7 +199,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
*/
|
|
|
public Map<String,Object> getOrgRenewTotals(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient " +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard " +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and fr.sign_year= '" + Constant.getNowYearByDate(tomorrow) + "'and fr.hospital=fr.old_hospital and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10 ";
|
|
@ -221,7 +221,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
*/
|
|
|
public Map<String,Object> getTeamRenewTotals(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient " +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard " +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and fr.sign_year= '" + Constant.getNowYearByDate(tomorrow) + "' and fr.admin_team_id=fr.old_admin_team_id and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10 ";
|
|
@ -239,7 +239,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
|
|
|
public Map<String,Object> getTeamRenewOut(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient " +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard " +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and fr.sign_year= '" + Constant.getNowYearByDate(tomorrow) + "' and fr.admin_team_id!=fr.old_admin_team_id and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10 ";
|
|
@ -257,7 +257,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
|
|
|
public Map<String,Object> getOrgRenewOut(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient" +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard" +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and fr.sign_year= '" + Constant.getNowYearByDate(tomorrow) + "' and fr.admin_team_id!=fr.old_admin_team_id and fr.hospital!=fr.old_hospital and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10 ";
|
|
@ -275,7 +275,7 @@ public class CurrentDayAllQuotaJob implements Job {
|
|
|
|
|
|
public Map<String,Object> getTownRenewOut(){
|
|
|
try{
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient " +
|
|
|
String sql=" select fr.sign_code code,fr.old_hospital hospital,fr.old_admin_team_id admin_team_id ,fr.patient,fr.idcard " +
|
|
|
" from wlyy_sign_family_renew_log fr " +
|
|
|
" where " +
|
|
|
" fr.apply_date<'"+ tomorrow+"' and fr.sign_year= '" + Constant.getNowYearByDate(tomorrow) + "' and fr.admin_team_id!=fr.old_admin_team_id and fr.hospital!=fr.old_hospital and LEFT(fr.hospital,6)!=LEFT(fr.old_hospital,6) and LENGTH(fr.hospital)=10 and LENGTH(fr.old_hospital)=10 ";
|