CoreDao with FormΒΆ


You can find these scripts inside the folder pmis/STND_PMIS/test/console/example.
If you want to execute them, you can use the Jython Console from the devtool menu.

filename =>

from java.util import *
from java.lang import *
from pmis.project.complaint import *

coreDao = ApplicationContext.get('coreDao')

param = ComplaintForm()
param.pjt_cd = 'STND_PMIS'
param.user_no = 'masterpmis'

compl = coreDao.getList('project.complaint.getComplaintList', param)

for comp in compl:
    print comp.occu_date