This commit is contained in:
parent
36ccc91650
commit
93663a00cc
|
|
@ -296,6 +296,13 @@
|
|||
$("#tyear").on("change", function () {
|
||||
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() {
|
||||
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
|
||||
from cg a
|
||||
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>
|
||||
</select>
|
||||
<!--<select id="cm.cms.studyplacecnt" parameterClass="int" resultClass="studyplace">
|
||||
|
|
|
|||
Loading…
Reference in New Issue