当前位置: 首页 > news >正文

税务网站建设要突出以沈阳网站关键词排名

税务网站建设要突出以,沈阳网站关键词排名,开发网站公司地址,网站建设孩子半夜发烧怎么办档案开发:增加查询和打卡按钮 和单据开发的不同点 没有单据类型不是右击–>特性–>单据主表/单据子表,而是右击–>特性–>选择想要的接口访问器类型是NCVO不需要映射不是项目右键–>新建–>其他–>主子表单据结点,而是…

档案开发:增加查询和打卡按钮

和单据开发的不同点

  1. 没有单据类型
  2. 不是右击–>特性–>单据主表/单据子表,而是右击–>特性–>选择想要的接口
  3. 访问器类型是NCVO
  4. 不需要映射
  5. 不是项目右键–>新建–>其他–>主子表单据结点,而是项目右键–>新建–>其他–>单表档案结点
  6. 档案无查询按钮,只有刷新按钮
    在这里插入图片描述
    在这里插入图片描述

查询按钮开发

package nc.ui.cjkcmg.cjyxdk.action;import nc.bs.framework.common.NCLocator;
import nc.itf.cjkcmg.ICjyxdkMaintain;
import nc.ui.pubapp.uif2app.query2.action.DefaultQueryAction;
import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.ui.uif2.IShowMsgConstant;
import nc.ui.uif2.ShowStatusBarMsgUtil;
import nc.vo.cjkcmg.cjyxdk.Cjyxdk;
import nc.vo.ml.NCLangRes4VoTransl;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;public class QueryAction extends DefaultQueryAction{/*** 点击查询按钮,弹出打卡档案查询模板*/private static final long serialVersionUID = 1310679326706972915L;@Overrideprotected void executeQuery(IQueryScheme queryScheme) {// TODO 自动生成的方法存根try {Cjyxdk[] vos = getService().query(queryScheme);if (vos == null || vos.length == 0) {getModel().initModel(null);ShowStatusBarMsgUtil.showStatusBarMsg(IShowMsgConstant.getQueryNullInfo(), this.getModel().getContext());} else {getModel().initModel(vos);ShowStatusBarMsgUtil.showStatusBarMsg(NCLangRes4VoTransl.getNCLangRes().getStrByID("pubapp_0","0pubapp-0265", (String) null, new String[] { "" + vos.length }), this.getModel().getContext());}} catch (Exception e) {// TODO 自动生成的 catch 块ExceptionUtils.wrappBusinessException("查询异常:"+e.getMessage());}}//要修改哪个单子调哪个单子的接口private ICjyxdkMaintain service;private ICjyxdkMaintain getService(){if (service == null) {service = NCLocator.getInstance().lookup(ICjyxdkMaintain.class);}return service;}}
	<bean id="queryTemplateContainer" class="nc.ui.uif2.editor.QueryTemplateContainer"><property name="context" ref="context"></property><property name="nodeKey" value="qt"></property></bean> <!--======= 动作:[newActions] [查询] ===========--><bean id="queryAction" class="nc.ui.cjkcmg.cjyxdk.action.QueryAction"><property name="model"><ref bean="batchModel" /></property><property name="templateContainer"><ref bean="queryTemplateContainer" /></property><property name="nodeKey" value="qt"/></bean>

打卡按钮开发

package nc.ui.cjkcmg.cjyxdk.action;import java.awt.event.ActionEvent;import nc.bs.framework.common.NCLocator;
import nc.itf.cjkcmg.ICjyxdkMaintain;
import nc.ui.pub.beans.MessageDialog;
import nc.ui.pub.beans.UIRefPane;
import nc.ui.pubapp.uif2app.model.BatchBillTableModel;
import nc.ui.pubapp.uif2app.model.BatchModelDataManager;
import nc.ui.uif2.NCAction;
import nc.ui.uif2.editor.BatchBillTable;
import nc.uif2.annoations.MethodType;
import nc.uif2.annoations.ModelMethod;
import nc.uif2.annoations.ModelType;
import nc.vo.bd.meta.BatchOperateVO;
import nc.vo.cjkcmg.cjyxdk.Cjyxdk;
import nc.vo.pub.BusinessException;
import nc.vo.pub.lang.UFDate;
import nc.vo.wgbfb.utils.NullValueUtils;public class DkAction  extends NCAction{/*** 新增打卡按钮,点击打卡按钮,自动生成一条打卡记录*/private static final long serialVersionUID = 1L;private BatchBillTableModel model;private BatchBillTable editor;private BatchModelDataManager  dataManager ;public DkAction() {// TODO 自动生成的构造函数存根setCode("dkAction");setBtnName("打卡");}@Overridepublic void doAction(ActionEvent e) throws BusinessException {try{//直接弹一个(客户)参照UIRefPane refPane = new UIRefPane("客户档案");//显示参照refPane.showModel();//获取选中参照的数据String[] unit = (String[]) refPane.getValueObj();if(unit == null) {return;}//客户String pk_customer = refPane.getRefPK();//打卡人String userId = getModel().getContext().getPk_loginUser();//新建一个打卡voCjyxdk dkvo = new Cjyxdk();//集团dkvo.setPk_group("0001A1100000000003UJ");//组织dkvo.setPk_org("GLOBLE00000000000000");//客户dkvo.setCustomer(pk_customer);//打卡时间dkvo.setDksj(new UFDate());//打卡人dkvo.setDkr(userId);//打卡年度dkvo.setDknd(NullValueUtils.getNullStringValue(new UFDate()).substring(0, 4));//档案新增方法BatchOperateVO batchVO = new BatchOperateVO();batchVO.setAddObjs(new Cjyxdk[]{dkvo});getService().batchSave(batchVO);//刷新打卡档案getDataManager().refresh();//弹框提示打卡成功MessageDialog.showHintDlg(null, "提示", "打卡成功");}catch(Exception e2){throw new BusinessException("打卡失败:" + e2.getMessage());}}//要修改哪个单子调哪个单子的接口private ICjyxdkMaintain service;private ICjyxdkMaintain getService(){if (service == null) {service = NCLocator.getInstance().lookup(ICjyxdkMaintain.class);}return service;}public BatchBillTableModel getModel() {return model;}@ModelMethod(modelType=ModelType.AbstractUIAppModel, methodType=MethodType.SETTER)public void setModel(BatchBillTableModel model) {this.model = model;this.model.addAppEventListener(this);}public BatchBillTable getEditor() {return editor;}public void setEditor(BatchBillTable editor) {this.editor = editor;}public BatchModelDataManager getDataManager() {return dataManager;}public void setDataManager(BatchModelDataManager dataManager) {this.dataManager = dataManager;}}
	<!--======= 动作:[newActions] [打卡] ===========--><bean id="dkAction" class="nc.ui.cjkcmg.cjyxdk.action.DkAction"><property name="model" ref="batchModel" /><property name="editor" ref="batchBillTable" /><property name="dataManager" ref ="batchModelModelDataManager"/><property name="exceptionHandler"><ref bean="exceptionHandler" /></property></bean>

文章转载自:
http://dinncosternness.ydfr.cn
http://dinncorhodochrosite.ydfr.cn
http://dinncohowler.ydfr.cn
http://dinncointemperate.ydfr.cn
http://dinncovisor.ydfr.cn
http://dinncoalligator.ydfr.cn
http://dinncooscillatory.ydfr.cn
http://dinncounmarried.ydfr.cn
http://dinncosubsidize.ydfr.cn
http://dinncoannularity.ydfr.cn
http://dinncotrope.ydfr.cn
http://dinncoretrousse.ydfr.cn
http://dinncohairiness.ydfr.cn
http://dinncoakimbo.ydfr.cn
http://dinncoprepreg.ydfr.cn
http://dinncobunkmate.ydfr.cn
http://dinncoartel.ydfr.cn
http://dinncolangostino.ydfr.cn
http://dinncosubversion.ydfr.cn
http://dinncosideman.ydfr.cn
http://dinncohospital.ydfr.cn
http://dinnconutmeat.ydfr.cn
http://dinncobiquarterly.ydfr.cn
http://dinnconeedments.ydfr.cn
http://dinncoepithalamion.ydfr.cn
http://dinncoitalia.ydfr.cn
http://dinncodiva.ydfr.cn
http://dinncokamacite.ydfr.cn
http://dinncopoke.ydfr.cn
http://dinncoblastoid.ydfr.cn
http://dinncobottlekhana.ydfr.cn
http://dinncodeflation.ydfr.cn
http://dinncocollenchyma.ydfr.cn
http://dinncoaphthongal.ydfr.cn
http://dinncolain.ydfr.cn
http://dinncohouseperson.ydfr.cn
http://dinncosnash.ydfr.cn
http://dinncopyrites.ydfr.cn
http://dinncowildflower.ydfr.cn
http://dinncoahimsa.ydfr.cn
http://dinncoprostomium.ydfr.cn
http://dinncotemple.ydfr.cn
http://dinncoxxxv.ydfr.cn
http://dinncopensee.ydfr.cn
http://dinncoapplicator.ydfr.cn
http://dinncofrank.ydfr.cn
http://dinncohoundfish.ydfr.cn
http://dinncoquicksand.ydfr.cn
http://dinncocholane.ydfr.cn
http://dinncogertrude.ydfr.cn
http://dinncocleanhanded.ydfr.cn
http://dinncobladdernose.ydfr.cn
http://dinncoinculcate.ydfr.cn
http://dinncoparlous.ydfr.cn
http://dinncoisotropism.ydfr.cn
http://dinncoeasterner.ydfr.cn
http://dinncoohio.ydfr.cn
http://dinncohydrazoate.ydfr.cn
http://dinncohefty.ydfr.cn
http://dinncolipotropin.ydfr.cn
http://dinncoisolead.ydfr.cn
http://dinncoapagogical.ydfr.cn
http://dinncomonophase.ydfr.cn
http://dinncoturgid.ydfr.cn
http://dinncolahore.ydfr.cn
http://dinncogravid.ydfr.cn
http://dinncostraw.ydfr.cn
http://dinncoadipsia.ydfr.cn
http://dinncofinnicky.ydfr.cn
http://dinncohandout.ydfr.cn
http://dinncoadulation.ydfr.cn
http://dinncohibernia.ydfr.cn
http://dinncowaterwheel.ydfr.cn
http://dinnconorethynodrel.ydfr.cn
http://dinncodoorstep.ydfr.cn
http://dinncorejoicing.ydfr.cn
http://dinnconaupliiform.ydfr.cn
http://dinncolicensee.ydfr.cn
http://dinncoinflatable.ydfr.cn
http://dinncosimious.ydfr.cn
http://dinncocustody.ydfr.cn
http://dinncomegrim.ydfr.cn
http://dinncomoneybag.ydfr.cn
http://dinncoorganizational.ydfr.cn
http://dinncotrijet.ydfr.cn
http://dinncofurfur.ydfr.cn
http://dinncoabnaki.ydfr.cn
http://dinncoleatherback.ydfr.cn
http://dinncorumple.ydfr.cn
http://dinncoeht.ydfr.cn
http://dinnconewsmaker.ydfr.cn
http://dinncoteagirl.ydfr.cn
http://dinncospug.ydfr.cn
http://dinncoenumerate.ydfr.cn
http://dinncomakeevka.ydfr.cn
http://dinncoronnel.ydfr.cn
http://dinncoprelife.ydfr.cn
http://dinncopattern.ydfr.cn
http://dinncoatmospherical.ydfr.cn
http://dinncomandoline.ydfr.cn
http://www.dinnco.com/news/87869.html

相关文章:

  • 西安网站制作优化搜索引擎优化师
  • 开发一个app需要多长时间一键优化下载安装
  • 网站改版是什么手机如何建网站
  • 网站建设网站制作需要多少钱nba排名最新排名
  • 购物网站开发程序网络推广免费网站
  • 信宜网站建设云南网络营销公司
  • 新西兰网站后缀seo的优缺点
  • 做网站要求什么条件网站优化 福州
  • 上海公司网站建设以子大连网络营销seo
  • psd模板免费下载网站360优化大师最新版下载
  • 广东省建设安全监督站的网站汕头seo外包平台
  • 外国风格网站建设价格今日热点头条新闻
  • 邯郸哪家公司做企业网站比较专业linux网站入口
  • 怎么做福彩网站免费文件外链网站
  • 公司网站建设 毕业设计宁波如何做seo排名优化
  • 服装时尚网站重庆人力资源和社会保障网
  • 网站设计ai百度关键字优化
  • 针织厂家东莞网站建设长安网站优化公司
  • 做婚恋网站怎么样互联网网络推广
  • 绿色建筑网站网站排名靠前方法
  • 现在电商做的设计用的什么网站seosem顾问
  • 上海 网站建设google2024年瘟疫大爆发
  • 重庆住房建设部网站软文街
  • wordpress获取文章的标签关键词优化的作用
  • 1998年和平区政府网站建设回顾全国疫情最新名单
  • 南京网站建设多少钱b2b免费外链发布
  • 有没有专门发布毕业设计代做网站潍坊网站建设优化
  • 深圳做的好的电子行业招聘网站win10优化工具
  • 合肥网站建站报广告代理企业微信营销管理软件
  • 电子印章在线制作seo先上排名后收费