| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package xin.glue.ui.G.G04;
- import java.sql.CallableStatement;
- import java.sql.SQLException;
- import com.posdata.glue.biz.activity.PosActivity;
- import com.posdata.glue.biz.constants.PosBizControlConstants;
- import com.posdata.glue.context.PosContext;
- import com.posdata.glue.dao.PosGenericDao;
- public class GetL2Wgt_new extends PosActivity{
- public String runActivity(PosContext context)
- {
- PosGenericDao dao = this.getDao("mesdao");
- CallableStatement cstm= null;
-
- try
- {
- cstm = dao.getCallableStatement("UIG050021_02.call");
- cstm.registerOutParameter(1, java.sql.Types.VARCHAR);
- cstm.execute();
-
- }
- catch(Exception ex)
- {
- logger.logDebug(ex.getMessage());
- return PosBizControlConstants.SUCCESS;
- }finally
- {
- if (cstm != null)
- {
- try
- {
- cstm.close();
- }
- catch (SQLException e)
- {
- logger.logWarn(e.getMessage(), e);
- }
- }
- }
- return PosBizControlConstants.SUCCESS;
- }
-
-
- }
|