AS代理商管理系统北大青鸟


完整的项目 详细 需求设计什么都有 太大上传不了完整的 分卷上传 这是第一部分
资源截图
代码片段和文件信息
package org.agent.action;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import net.sf.json.JSONArray;

import org.agent.common.Constants;
import org.agent.common.PageSupport;
import org.agent.common.SQLTools;
import org.agent.pojo.Account;
import org.agent.pojo.AccountDetail;
import org.agent.pojo.Logs;
import org.agent.pojo.SystemConfig;
import org.agent.pojo.User;
import org.agent.service.account.AccountService;
import org.agent.service.accountdetail.AccountDetailService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

public class AccountAction extends baseAction {
private static final long serialVersionUID = 1233435286650997451L;
private Logger logger = Logger.getLogger(AccountAction.class);
private List userList;
private User user;
private Account account;
private List accountConfigList;
private AccountDetail accountDetail;
private List accountDetailList;
@Autowired
AccountService accountService;
@Autowired
AccountDetailService accountDetailService;
private String userCode;
private String userId;



public String getUserCode() {
return userCode;
}

public void setUserCode(String userCode) {
this.userCode = userCode;
}

public String getUserId() {
return userId;
}

public void setUserId(String userId) {
this.userId = userId;
}

public void searchUser(){
try {
//user.userCode=han
user.setUserCode(“%“+SQLTools.transfer(user.getUserCode())+“%“);
user.setIsStart(1);
userList = this.searchUser(userList user);
if(null == userList){
userList = new ArrayList();
}
logger.error(“--->“ + userList.size());
this.getOut().write((JSONArray.fromobject(userList)).toString());
this.closeOut(this.getOut());
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

public String caiwu(){
accountConfigList = Constants.accountConfigList;
return SUCCESS;
}

public void opeaccount(){
logger.error(“userid : “ + account.getUserId());
logger.error(“money :“ + account.getMoney());
try{
Account dbAccount = accountService.getAccount(account);
if(null != dbAccount){
//init accountDetail
/*
DetailType //流水类型
DetailTypeName //流水类型名称
Money //l流水金额
accountMoney //账户余额
Memo //备注
DetailDatetime  //流水产生时间
 */
Date date = new Date();
accountDetail.setAccountMoney(dbAccount.getMoney().add(account.getMoney()));
accountDetail.setMoney(account.getMoney());
accountDetail.setUserId(dbAccount.getUserId());
accountDetail.setDetailDateTime(date);
if(accountDetail.getMemo() == null)
accountDetail.setMemo(““);

logger.error(“------>“ + accountDetail.getDetailTypeName());
logger.error(“------>“ + accountDetail.getMemo());
logger.error(“------>“ + accountDetail.getDetail

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   36428182  2014-05-16 17:23  项目_AS代理商管理系统1代码源文件war包AgentSystem.war

     文件     151861  2016-11-25 16:08  项目_AS代理商管理系统1代码源文件数据库脚本agentsystemdb.sql

     文件     151861  2016-11-25 16:08  项目_AS代理商管理系统1代码源文件数据库脚本agentsystemdb.~sql

     文件        567  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.classpath

     文件        306  2014-04-28 10:32  项目_AS代理商管理系统1代码源文件源代码AgentSystem.mymetadata

     文件       1754  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.project

     文件        488  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.jsdtscope

     文件       1564  2014-05-13 18:26  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svnentries

     文件        488  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-base.jsdtscope.svn-base

     文件        191  2014-05-13 18:26  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-basecom.genuitec.eclipse.core.prefs.svn-base

     文件        236  2014-05-13 17:18  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.core.resources.prefs.svn-base

     文件        387  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.jdt.core.prefs.svn-base

     文件        626  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.wst.common.component.svn-base

     文件        245  2014-05-06 14:58  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.wst.common.project.facet.core.xml.svn-base

     文件         49  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.wst.jsdt.ui.superType.container.svn-base

     文件          6  2014-05-06 14:58  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settings.svn ext-baseorg.eclipse.wst.jsdt.ui.superType.name.svn-base

     文件        191  2014-05-13 18:26  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingscom.genuitec.eclipse.core.prefs

     文件        236  2014-05-13 17:13  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.core.resources.prefs

     文件        387  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.jdt.core.prefs

     文件        626  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.wst.common.component

     文件        245  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.wst.common.project.facet.core.xml

     文件         49  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.wst.jsdt.ui.superType.container

     文件          6  2013-10-14 23:23  项目_AS代理商管理系统1代码源文件源代码AgentSystem.settingsorg.eclipse.wst.jsdt.ui.superType.name

     文件        733  2014-05-06 14:58  项目_AS代理商管理系统1代码源文件源代码AgentSystem.svnentries

     文件        567  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystem.svn ext-base.classpath.svn-base

     文件        306  2014-05-06 14:58  项目_AS代理商管理系统1代码源文件源代码AgentSystem.svn ext-base.mymetadata.svn-base

     文件       1754  2014-05-06 14:58  项目_AS代理商管理系统1代码源文件源代码AgentSystem.svn ext-base.project.svn-base

     文件        941  2014-05-15 11:48  项目_AS代理商管理系统1代码源文件源代码AgentSystemdoc.svnentries

     文件       5627  2014-05-06 14:57  项目_AS代理商管理系统1代码源文件源代码AgentSystemdoc.svn ext-baseAgentDes.svn-base

     文件     155136  2014-05-15 11:48  项目_AS代理商管理系统1代码源文件源代码AgentSystemdoc.svn ext-baseagentsystemdb.sql.svn-base

............此处省略951个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)