This commit is contained in:
parent
36ccc91650
commit
93663a00cc
|
|
@ -296,6 +296,13 @@
|
||||||
$("#tyear").on("change", function () {
|
$("#tyear").on("change", function () {
|
||||||
bindtseq();
|
bindtseq();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ("@Model.stringval10" == null || "@Model.stringval10" == "" || "@Model.stringval10" == undefined) {
|
||||||
|
$("#stringval10").val("@DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01")");
|
||||||
|
}
|
||||||
|
if ("@Model.stringval11" == null || "@Model.stringval11" == "" || "@Model.stringval11" == undefined) {
|
||||||
|
$("#stringval11").val("@DateTime.Now.AddMonths(1).ToString("yyyy-MM-01")");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
function cbgetcm() {
|
function cbgetcm() {
|
||||||
if (capResult.obj != null && capResult.obj.length > 0) {
|
if (capResult.obj != null && capResult.obj.length > 0) {
|
||||||
|
|
|
||||||
|
|
@ -1725,7 +1725,7 @@
|
||||||
b.cgno,b.pcgno,b.cgname,b.cgcode,b.isuse,b.iscover,b.isdel,b.cdt,b.cno,b.udt,b.uno,b.uip
|
b.cgno,b.pcgno,b.cgname,b.cgcode,b.isuse,b.iscover,b.isdel,b.cdt,b.cno,b.udt,b.uno,b.uip
|
||||||
from cg a
|
from cg a
|
||||||
left outer join cg b on a.cgno = b.pcgno
|
left outer join cg b on a.cgno = b.pcgno
|
||||||
where a.isdel=0
|
where b.isdel=0 and b.isuse = 1
|
||||||
<isNotNull property="cgcode" prepend="and">a.cgcode=#cgcode#</isNotNull>
|
<isNotNull property="cgcode" prepend="and">a.cgcode=#cgcode#</isNotNull>
|
||||||
</select>
|
</select>
|
||||||
<!--<select id="cm.cms.studyplacecnt" parameterClass="int" resultClass="studyplace">
|
<!--<select id="cm.cms.studyplacecnt" parameterClass="int" resultClass="studyplace">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue