|
@@ -1407,7 +1407,7 @@ GROUP BY fpd.ptsid`
|
|
|
sqlstr := `SELECT
|
|
|
lpplan.date,
|
|
|
-- ifnull((select eqcode from tmr where pastureid =lpplan.pastureid and id = lpplan.tmrid ),lpplan.tmrname)
|
|
|
- lpplan.tmrname tmrname,trim(lpplan.tmrid) tmrid,lpplan.sort,lpplan.sel,lpplan.times timesInt,
|
|
|
+ (select eqcode from tmr where pastureid =lpplan.pastureid and id = lpplan.tmrid ) tmrname,trim(lpplan.tmrid) tmrid,lpplan.sort,lpplan.sel,lpplan.times timesInt,
|
|
|
if( ifnull((select inforvalue from sysopt where inforname = 'language' and lpplan.pastureId),0) = 0 ,
|
|
|
CASE
|
|
|
lpplan.times
|