| 123456789101112131415161718192021222324 |
- package xin.glue.nui.E.E03;
- import xin.glue.ui.common.PosDBEngine;
- import com.posdata.glue.biz.constants.PosBizControlConstants;
- import com.posdata.glue.context.PosContext;
- public class RepSelectSave extends PosDBEngine {
- public String runActivity(PosContext ctx) {
- /*
- * 传入参数说明:
- * 1. class: 类名(com.xin.ui.PosInsertExecute)
- * 2. dao : dao 名(testdao)
- * 3. sqlkey: 主查询语句
- * 4. param :参数规则
- */
- Initialize();
- // 2. Get Parameter( 各语句参数名获取 )
- setParamMap(ctx, "sqlkey-i", "param-i");
- if (((Integer)Execute(ctx, "sqlkey-i", "param-i", 'i')).intValue() > 0)
- return PosBizControlConstants.SUCCESS;
- return "F";
- }
- }
|