活动管理-抽奖列表添加
This commit is contained in:
parent
6cae33e1d6
commit
e2f906a5ea
|
|
@ -0,0 +1,127 @@
|
|||
package com.sinosoft.activity.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.sinosoft.activity.domain.DrawAwardRecord;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.sinosoft.activity.service.IDrawAwardRecordService;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 记录发奖信息Controller
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/activity/award/record")
|
||||
public class DrawAwardRecordController extends BaseController
|
||||
{
|
||||
private String prefix = "activity/awardRecord";
|
||||
|
||||
@Autowired
|
||||
private IDrawAwardRecordService drawAwardRecordService;
|
||||
|
||||
@RequiresPermissions("activity:record:view")
|
||||
@GetMapping()
|
||||
public String record()
|
||||
{
|
||||
return prefix + "/record";
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询记录发奖信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:record:list")
|
||||
@PostMapping("/list")
|
||||
@ResponseBody
|
||||
public TableDataInfo list(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
startPage();
|
||||
List<DrawAwardRecord> list = drawAwardRecordService.selectDrawAwardRecordList(drawAwardRecord);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出记录发奖信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:record:export")
|
||||
@Log(title = "记录发奖信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
@ResponseBody
|
||||
public AjaxResult export(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
List<DrawAwardRecord> list = drawAwardRecordService.selectDrawAwardRecordList(drawAwardRecord);
|
||||
ExcelUtil<DrawAwardRecord> util = new ExcelUtil<DrawAwardRecord>(DrawAwardRecord.class);
|
||||
return util.exportExcel(list, "record");
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增记录发奖信息
|
||||
*/
|
||||
@GetMapping("/add")
|
||||
public String add()
|
||||
{
|
||||
return prefix + "/add";
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保存记录发奖信息
|
||||
*/
|
||||
@RequiresPermissions("activity:record:add")
|
||||
@Log(title = "记录发奖信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/add")
|
||||
@ResponseBody
|
||||
public AjaxResult addSave(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
return toAjax(drawAwardRecordService.insertDrawAwardRecord(drawAwardRecord));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改记录发奖信息
|
||||
*/
|
||||
@GetMapping("/edit/{AWARDRECORDID}")
|
||||
public String edit(@PathVariable("AWARDRECORDID") String AWARDRECORDID, ModelMap mmap)
|
||||
{
|
||||
DrawAwardRecord drawAwardRecord = drawAwardRecordService.selectDrawAwardRecordById(AWARDRECORDID);
|
||||
mmap.put("drawAwardRecord", drawAwardRecord);
|
||||
return prefix + "/edit";
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保存记录发奖信息
|
||||
*/
|
||||
@RequiresPermissions("activity:record:edit")
|
||||
@Log(title = "记录发奖信息", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/edit")
|
||||
@ResponseBody
|
||||
public AjaxResult editSave(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
return toAjax(drawAwardRecordService.updateDrawAwardRecord(drawAwardRecord));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除记录发奖信息
|
||||
*/
|
||||
@RequiresPermissions("activity:record:remove")
|
||||
@Log(title = "记录发奖信息", businessType = BusinessType.DELETE)
|
||||
@PostMapping( "/remove")
|
||||
@ResponseBody
|
||||
public AjaxResult remove(String ids)
|
||||
{
|
||||
return toAjax(drawAwardRecordService.deleteDrawAwardRecordByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
package com.sinosoft.activity.controller;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.sinosoft.activity.domain.DrawTaskConsume;
|
||||
import com.sinosoft.activity.service.IDrawTaskConsumeService;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 抽奖次数消费信息Controller
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/activity/consume")
|
||||
public class DrawTaskConsumeController extends BaseController
|
||||
{
|
||||
private String prefix = "activity/consume";
|
||||
|
||||
@Autowired
|
||||
private IDrawTaskConsumeService drawTaskConsumeService;
|
||||
|
||||
@RequiresPermissions("activity:consume:view")
|
||||
@GetMapping()
|
||||
public String consume()
|
||||
{
|
||||
return prefix + "/consume";
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询抽奖次数消费信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:consume:list")
|
||||
@PostMapping("/list")
|
||||
@ResponseBody
|
||||
public TableDataInfo list(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
startPage();
|
||||
List<DrawTaskConsume> list = drawTaskConsumeService.selectDrawTaskConsumeList(drawTaskConsume);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出抽奖次数消费信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:consume:export")
|
||||
@Log(title = "抽奖次数消费信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
@ResponseBody
|
||||
public AjaxResult export(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
List<DrawTaskConsume> list = drawTaskConsumeService.selectDrawTaskConsumeList(drawTaskConsume);
|
||||
ExcelUtil<DrawTaskConsume> util = new ExcelUtil<DrawTaskConsume>(DrawTaskConsume.class);
|
||||
return util.exportExcel(list, "consume");
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增抽奖次数消费信息
|
||||
*/
|
||||
@GetMapping("/add")
|
||||
public String add()
|
||||
{
|
||||
return prefix + "/add";
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保存抽奖次数消费信息
|
||||
*/
|
||||
@RequiresPermissions("activity:consume:add")
|
||||
@Log(title = "抽奖次数消费信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/add")
|
||||
@ResponseBody
|
||||
public AjaxResult addSave(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
return toAjax(drawTaskConsumeService.insertDrawTaskConsume(drawTaskConsume));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改抽奖次数消费信息
|
||||
*/
|
||||
@GetMapping("/edit/{TASKCONSUMEID}")
|
||||
public String edit(@PathVariable("TASKCONSUMEID") String TASKCONSUMEID, ModelMap mmap)
|
||||
{
|
||||
DrawTaskConsume drawTaskConsume = drawTaskConsumeService.selectDrawTaskConsumeById(TASKCONSUMEID);
|
||||
mmap.put("drawTaskConsume", drawTaskConsume);
|
||||
return prefix + "/edit";
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保存抽奖次数消费信息
|
||||
*/
|
||||
@RequiresPermissions("activity:consume:edit")
|
||||
@Log(title = "抽奖次数消费信息", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/edit")
|
||||
@ResponseBody
|
||||
public AjaxResult editSave(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
return toAjax(drawTaskConsumeService.updateDrawTaskConsume(drawTaskConsume));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除抽奖次数消费信息
|
||||
*/
|
||||
@RequiresPermissions("activity:consume:remove")
|
||||
@Log(title = "抽奖次数消费信息", businessType = BusinessType.DELETE)
|
||||
@PostMapping( "/remove")
|
||||
@ResponseBody
|
||||
public AjaxResult remove(String ids)
|
||||
{
|
||||
return toAjax(drawTaskConsumeService.deleteDrawTaskConsumeByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
package com.sinosoft.activity.controller;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.sinosoft.activity.domain.DrawTaskNotify;
|
||||
import com.sinosoft.activity.service.IDrawTaskNotifyService;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 活动次数记录信息Controller
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/activity/DrawTaskNotify")
|
||||
public class DrawTaskNotifyController extends BaseController
|
||||
{
|
||||
private String prefix = "activity/DrawTaskNotify";
|
||||
|
||||
@Autowired
|
||||
private IDrawTaskNotifyService drawTaskNotifyService;
|
||||
|
||||
@RequiresPermissions("activity:DrawTaskNotify:view")
|
||||
@GetMapping()
|
||||
public String DrawTaskNotify()
|
||||
{
|
||||
return prefix + "/DrawTaskNotify";
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询活动次数记录信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:DrawTaskNotify:list")
|
||||
@PostMapping("/list")
|
||||
@ResponseBody
|
||||
public TableDataInfo list(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
startPage();
|
||||
List<DrawTaskNotify> list = drawTaskNotifyService.selectDrawTaskNotifyList(drawTaskNotify);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出活动次数记录信息列表
|
||||
*/
|
||||
@RequiresPermissions("activity:DrawTaskNotify:export")
|
||||
@Log(title = "活动次数记录信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
@ResponseBody
|
||||
public AjaxResult export(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
List<DrawTaskNotify> list = drawTaskNotifyService.selectDrawTaskNotifyList(drawTaskNotify);
|
||||
ExcelUtil<DrawTaskNotify> util = new ExcelUtil<DrawTaskNotify>(DrawTaskNotify.class);
|
||||
return util.exportExcel(list, "DrawTaskNotify");
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增活动次数记录信息
|
||||
*/
|
||||
@GetMapping("/add")
|
||||
public String add()
|
||||
{
|
||||
return prefix + "/add";
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保存活动次数记录信息
|
||||
*/
|
||||
@RequiresPermissions("activity:DrawTaskNotify:add")
|
||||
@Log(title = "活动次数记录信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/add")
|
||||
@ResponseBody
|
||||
public AjaxResult addSave(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
return toAjax(drawTaskNotifyService.insertDrawTaskNotify(drawTaskNotify));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改活动次数记录信息
|
||||
*/
|
||||
@GetMapping("/edit/{USERID}")
|
||||
public String edit(@PathVariable("USERID") String USERID, ModelMap mmap)
|
||||
{
|
||||
DrawTaskNotify drawTaskNotify = drawTaskNotifyService.selectDrawTaskNotifyById(USERID);
|
||||
mmap.put("drawTaskNotify", drawTaskNotify);
|
||||
return prefix + "/edit";
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保存活动次数记录信息
|
||||
*/
|
||||
@RequiresPermissions("activity:DrawTaskNotify:edit")
|
||||
@Log(title = "活动次数记录信息", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/edit")
|
||||
@ResponseBody
|
||||
public AjaxResult editSave(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
return toAjax(drawTaskNotifyService.updateDrawTaskNotify(drawTaskNotify));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除活动次数记录信息
|
||||
*/
|
||||
@RequiresPermissions("activity:DrawTaskNotify:remove")
|
||||
@Log(title = "活动次数记录信息", businessType = BusinessType.DELETE)
|
||||
@PostMapping( "/remove")
|
||||
@ResponseBody
|
||||
public AjaxResult remove(String ids)
|
||||
{
|
||||
return toAjax(drawTaskNotifyService.deleteDrawTaskNotifyByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,364 @@
|
|||
package com.sinosoft.activity.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 记录发奖信息对象 draw_award_record
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public class DrawAwardRecord extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private String AWARDRECORDID;
|
||||
|
||||
/** 抽奖活动代码 */
|
||||
@Excel(name = "抽奖活动代码")
|
||||
private String DRAWCODE;
|
||||
|
||||
/** 奖品代码 */
|
||||
@Excel(name = "奖品代码")
|
||||
private String PRIZECODE;
|
||||
|
||||
/** 用户标识 */
|
||||
@Excel(name = "用户标识")
|
||||
private String USERID;
|
||||
|
||||
/** 抽奖记录标识 */
|
||||
@Excel(name = "抽奖记录标识")
|
||||
private String DRAWRECORDID;
|
||||
|
||||
/** 发奖时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "发奖时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date AWARDTIME;
|
||||
|
||||
/** 发奖结果 */
|
||||
@Excel(name = "发奖结果")
|
||||
private String AWARDRESULT;
|
||||
|
||||
/** 错误码 */
|
||||
@Excel(name = "错误码")
|
||||
private String RETURNCODE;
|
||||
|
||||
/** 错误信息 */
|
||||
@Excel(name = "错误信息")
|
||||
private String RETURNMESSAGE;
|
||||
|
||||
/** 手机号 */
|
||||
@Excel(name = "手机号")
|
||||
private String PHONE;
|
||||
|
||||
/** 地址 */
|
||||
@Excel(name = "地址")
|
||||
private String ADDRESS;
|
||||
|
||||
/** 用户名 */
|
||||
@Excel(name = "用户名")
|
||||
private String USERNAME;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date CREATETIMESTAMP;
|
||||
|
||||
/** 最后修改时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date LASTUPDATETIMESTAMP;
|
||||
|
||||
/** 抽奖流水 */
|
||||
@Excel(name = "抽奖流水")
|
||||
private String DRAWTRANSEQNO;
|
||||
|
||||
/** 发奖流水 */
|
||||
@Excel(name = "发奖流水")
|
||||
private String AWARDTRANSEQNO;
|
||||
|
||||
/** 奖品等级 */
|
||||
@Excel(name = "奖品等级")
|
||||
private String PRIZELEVEL;
|
||||
|
||||
/** 奖品类型 */
|
||||
@Excel(name = "奖品类型")
|
||||
private String PRIZETYPE;
|
||||
|
||||
/** 商户号 */
|
||||
@Excel(name = "商户号")
|
||||
private String MERCHANTCODE;
|
||||
|
||||
/** 商户系统号 */
|
||||
@Excel(name = "商户系统号")
|
||||
private String MERCHANTSYSCODE;
|
||||
|
||||
/** 渠道 */
|
||||
@Excel(name = "渠道")
|
||||
private String CHANNEL;
|
||||
|
||||
/** 业务领域 */
|
||||
@Excel(name = "业务领域")
|
||||
private String BUSINESSAREA;
|
||||
|
||||
/** 城市 */
|
||||
@Excel(name = "城市")
|
||||
private String CITY;
|
||||
|
||||
/** 扩展 */
|
||||
@Excel(name = "扩展")
|
||||
private String EXTID;
|
||||
|
||||
public void setAWARDRECORDID(String AWARDRECORDID)
|
||||
{
|
||||
this.AWARDRECORDID = AWARDRECORDID;
|
||||
}
|
||||
|
||||
public String getAWARDRECORDID()
|
||||
{
|
||||
return AWARDRECORDID;
|
||||
}
|
||||
public void setDRAWCODE(String DRAWCODE)
|
||||
{
|
||||
this.DRAWCODE = DRAWCODE;
|
||||
}
|
||||
|
||||
public String getDRAWCODE()
|
||||
{
|
||||
return DRAWCODE;
|
||||
}
|
||||
public void setPRIZECODE(String PRIZECODE)
|
||||
{
|
||||
this.PRIZECODE = PRIZECODE;
|
||||
}
|
||||
|
||||
public String getPRIZECODE()
|
||||
{
|
||||
return PRIZECODE;
|
||||
}
|
||||
public void setUSERID(String USERID)
|
||||
{
|
||||
this.USERID = USERID;
|
||||
}
|
||||
|
||||
public String getUSERID()
|
||||
{
|
||||
return USERID;
|
||||
}
|
||||
public void setDRAWRECORDID(String DRAWRECORDID)
|
||||
{
|
||||
this.DRAWRECORDID = DRAWRECORDID;
|
||||
}
|
||||
|
||||
public String getDRAWRECORDID()
|
||||
{
|
||||
return DRAWRECORDID;
|
||||
}
|
||||
public void setAWARDTIME(Date AWARDTIME)
|
||||
{
|
||||
this.AWARDTIME = AWARDTIME;
|
||||
}
|
||||
|
||||
public Date getAWARDTIME()
|
||||
{
|
||||
return AWARDTIME;
|
||||
}
|
||||
public void setAWARDRESULT(String AWARDRESULT)
|
||||
{
|
||||
this.AWARDRESULT = AWARDRESULT;
|
||||
}
|
||||
|
||||
public String getAWARDRESULT()
|
||||
{
|
||||
return AWARDRESULT;
|
||||
}
|
||||
public void setRETURNCODE(String RETURNCODE)
|
||||
{
|
||||
this.RETURNCODE = RETURNCODE;
|
||||
}
|
||||
|
||||
public String getRETURNCODE()
|
||||
{
|
||||
return RETURNCODE;
|
||||
}
|
||||
public void setRETURNMESSAGE(String RETURNMESSAGE)
|
||||
{
|
||||
this.RETURNMESSAGE = RETURNMESSAGE;
|
||||
}
|
||||
|
||||
public String getRETURNMESSAGE()
|
||||
{
|
||||
return RETURNMESSAGE;
|
||||
}
|
||||
public void setPHONE(String PHONE)
|
||||
{
|
||||
this.PHONE = PHONE;
|
||||
}
|
||||
|
||||
public String getPHONE()
|
||||
{
|
||||
return PHONE;
|
||||
}
|
||||
public void setADDRESS(String ADDRESS)
|
||||
{
|
||||
this.ADDRESS = ADDRESS;
|
||||
}
|
||||
|
||||
public String getADDRESS()
|
||||
{
|
||||
return ADDRESS;
|
||||
}
|
||||
public void setUSERNAME(String USERNAME)
|
||||
{
|
||||
this.USERNAME = USERNAME;
|
||||
}
|
||||
|
||||
public String getUSERNAME()
|
||||
{
|
||||
return USERNAME;
|
||||
}
|
||||
public void setCREATETIMESTAMP(Date CREATETIMESTAMP)
|
||||
{
|
||||
this.CREATETIMESTAMP = CREATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getCREATETIMESTAMP()
|
||||
{
|
||||
return CREATETIMESTAMP;
|
||||
}
|
||||
public void setLASTUPDATETIMESTAMP(Date LASTUPDATETIMESTAMP)
|
||||
{
|
||||
this.LASTUPDATETIMESTAMP = LASTUPDATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getLASTUPDATETIMESTAMP()
|
||||
{
|
||||
return LASTUPDATETIMESTAMP;
|
||||
}
|
||||
public void setDRAWTRANSEQNO(String DRAWTRANSEQNO)
|
||||
{
|
||||
this.DRAWTRANSEQNO = DRAWTRANSEQNO;
|
||||
}
|
||||
|
||||
public String getDRAWTRANSEQNO()
|
||||
{
|
||||
return DRAWTRANSEQNO;
|
||||
}
|
||||
public void setAWARDTRANSEQNO(String AWARDTRANSEQNO)
|
||||
{
|
||||
this.AWARDTRANSEQNO = AWARDTRANSEQNO;
|
||||
}
|
||||
|
||||
public String getAWARDTRANSEQNO()
|
||||
{
|
||||
return AWARDTRANSEQNO;
|
||||
}
|
||||
public void setPRIZELEVEL(String PRIZELEVEL)
|
||||
{
|
||||
this.PRIZELEVEL = PRIZELEVEL;
|
||||
}
|
||||
|
||||
public String getPRIZELEVEL()
|
||||
{
|
||||
return PRIZELEVEL;
|
||||
}
|
||||
public void setPRIZETYPE(String PRIZETYPE)
|
||||
{
|
||||
this.PRIZETYPE = PRIZETYPE;
|
||||
}
|
||||
|
||||
public String getPRIZETYPE()
|
||||
{
|
||||
return PRIZETYPE;
|
||||
}
|
||||
public void setMERCHANTCODE(String MERCHANTCODE)
|
||||
{
|
||||
this.MERCHANTCODE = MERCHANTCODE;
|
||||
}
|
||||
|
||||
public String getMERCHANTCODE()
|
||||
{
|
||||
return MERCHANTCODE;
|
||||
}
|
||||
public void setMERCHANTSYSCODE(String MERCHANTSYSCODE)
|
||||
{
|
||||
this.MERCHANTSYSCODE = MERCHANTSYSCODE;
|
||||
}
|
||||
|
||||
public String getMERCHANTSYSCODE()
|
||||
{
|
||||
return MERCHANTSYSCODE;
|
||||
}
|
||||
public void setCHANNEL(String CHANNEL)
|
||||
{
|
||||
this.CHANNEL = CHANNEL;
|
||||
}
|
||||
|
||||
public String getCHANNEL()
|
||||
{
|
||||
return CHANNEL;
|
||||
}
|
||||
public void setBUSINESSAREA(String BUSINESSAREA)
|
||||
{
|
||||
this.BUSINESSAREA = BUSINESSAREA;
|
||||
}
|
||||
|
||||
public String getBUSINESSAREA()
|
||||
{
|
||||
return BUSINESSAREA;
|
||||
}
|
||||
public void setCITY(String CITY)
|
||||
{
|
||||
this.CITY = CITY;
|
||||
}
|
||||
|
||||
public String getCITY()
|
||||
{
|
||||
return CITY;
|
||||
}
|
||||
public void setEXTID(String EXTID)
|
||||
{
|
||||
this.EXTID = EXTID;
|
||||
}
|
||||
|
||||
public String getEXTID()
|
||||
{
|
||||
return EXTID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("AWARDRECORDID", getAWARDRECORDID())
|
||||
.append("DRAWCODE", getDRAWCODE())
|
||||
.append("PRIZECODE", getPRIZECODE())
|
||||
.append("USERID", getUSERID())
|
||||
.append("DRAWRECORDID", getDRAWRECORDID())
|
||||
.append("AWARDTIME", getAWARDTIME())
|
||||
.append("AWARDRESULT", getAWARDRESULT())
|
||||
.append("RETURNCODE", getRETURNCODE())
|
||||
.append("RETURNMESSAGE", getRETURNMESSAGE())
|
||||
.append("PHONE", getPHONE())
|
||||
.append("ADDRESS", getADDRESS())
|
||||
.append("USERNAME", getUSERNAME())
|
||||
.append("CREATETIMESTAMP", getCREATETIMESTAMP())
|
||||
.append("LASTUPDATETIMESTAMP", getLASTUPDATETIMESTAMP())
|
||||
.append("DRAWTRANSEQNO", getDRAWTRANSEQNO())
|
||||
.append("AWARDTRANSEQNO", getAWARDTRANSEQNO())
|
||||
.append("PRIZELEVEL", getPRIZELEVEL())
|
||||
.append("PRIZETYPE", getPRIZETYPE())
|
||||
.append("MERCHANTCODE", getMERCHANTCODE())
|
||||
.append("MERCHANTSYSCODE", getMERCHANTSYSCODE())
|
||||
.append("CHANNEL", getCHANNEL())
|
||||
.append("BUSINESSAREA", getBUSINESSAREA())
|
||||
.append("CITY", getCITY())
|
||||
.append("EXTID", getEXTID())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,195 @@
|
|||
package com.sinosoft.activity.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 抽奖次数消费信息对象 draw_task_consume
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public class DrawTaskConsume extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 业务主键 */
|
||||
private String TASKCONSUMEID;
|
||||
|
||||
/** 活动次数记录主键 */
|
||||
@Excel(name = "活动次数记录主键")
|
||||
private String TASKNOTIFYID;
|
||||
|
||||
/** 活动代码 */
|
||||
@Excel(name = "活动代码")
|
||||
private String DRAWCODE;
|
||||
|
||||
/** 任务流水 */
|
||||
@Excel(name = "任务流水")
|
||||
private String TASKID;
|
||||
|
||||
/** 用户标识 */
|
||||
@Excel(name = "用户标识")
|
||||
private String USERID;
|
||||
|
||||
/** 赠送次数类型 */
|
||||
@Excel(name = "赠送次数类型")
|
||||
private String TYPE;
|
||||
|
||||
/** 使用次数 */
|
||||
@Excel(name = "使用次数")
|
||||
private Long CONSUMENUMBER;
|
||||
|
||||
/** 使用流水 */
|
||||
@Excel(name = "使用流水")
|
||||
private String TRANSEQNO;
|
||||
|
||||
/** 使用主键 */
|
||||
@Excel(name = "使用主键")
|
||||
private String TRADEORDERID;
|
||||
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private String STATE;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date CREATETIMESTAMP;
|
||||
|
||||
/** 最后修改时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date LASTUPDATETIMESTAMP;
|
||||
|
||||
public void setTASKCONSUMEID(String TASKCONSUMEID)
|
||||
{
|
||||
this.TASKCONSUMEID = TASKCONSUMEID;
|
||||
}
|
||||
|
||||
public String getTASKCONSUMEID()
|
||||
{
|
||||
return TASKCONSUMEID;
|
||||
}
|
||||
public void setTASKNOTIFYID(String TASKNOTIFYID)
|
||||
{
|
||||
this.TASKNOTIFYID = TASKNOTIFYID;
|
||||
}
|
||||
|
||||
public String getTASKNOTIFYID()
|
||||
{
|
||||
return TASKNOTIFYID;
|
||||
}
|
||||
public void setDRAWCODE(String DRAWCODE)
|
||||
{
|
||||
this.DRAWCODE = DRAWCODE;
|
||||
}
|
||||
|
||||
public String getDRAWCODE()
|
||||
{
|
||||
return DRAWCODE;
|
||||
}
|
||||
public void setTASKID(String TASKID)
|
||||
{
|
||||
this.TASKID = TASKID;
|
||||
}
|
||||
|
||||
public String getTASKID()
|
||||
{
|
||||
return TASKID;
|
||||
}
|
||||
public void setUSERID(String USERID)
|
||||
{
|
||||
this.USERID = USERID;
|
||||
}
|
||||
|
||||
public String getUSERID()
|
||||
{
|
||||
return USERID;
|
||||
}
|
||||
public void setTYPE(String TYPE)
|
||||
{
|
||||
this.TYPE = TYPE;
|
||||
}
|
||||
|
||||
public String getTYPE()
|
||||
{
|
||||
return TYPE;
|
||||
}
|
||||
public void setCONSUMENUMBER(Long CONSUMENUMBER)
|
||||
{
|
||||
this.CONSUMENUMBER = CONSUMENUMBER;
|
||||
}
|
||||
|
||||
public Long getCONSUMENUMBER()
|
||||
{
|
||||
return CONSUMENUMBER;
|
||||
}
|
||||
public void setTRANSEQNO(String TRANSEQNO)
|
||||
{
|
||||
this.TRANSEQNO = TRANSEQNO;
|
||||
}
|
||||
|
||||
public String getTRANSEQNO()
|
||||
{
|
||||
return TRANSEQNO;
|
||||
}
|
||||
public void setTRADEORDERID(String TRADEORDERID)
|
||||
{
|
||||
this.TRADEORDERID = TRADEORDERID;
|
||||
}
|
||||
|
||||
public String getTRADEORDERID()
|
||||
{
|
||||
return TRADEORDERID;
|
||||
}
|
||||
public void setSTATE(String STATE)
|
||||
{
|
||||
this.STATE = STATE;
|
||||
}
|
||||
|
||||
public String getSTATE()
|
||||
{
|
||||
return STATE;
|
||||
}
|
||||
public void setCREATETIMESTAMP(Date CREATETIMESTAMP)
|
||||
{
|
||||
this.CREATETIMESTAMP = CREATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getCREATETIMESTAMP()
|
||||
{
|
||||
return CREATETIMESTAMP;
|
||||
}
|
||||
public void setLASTUPDATETIMESTAMP(Date LASTUPDATETIMESTAMP)
|
||||
{
|
||||
this.LASTUPDATETIMESTAMP = LASTUPDATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getLASTUPDATETIMESTAMP()
|
||||
{
|
||||
return LASTUPDATETIMESTAMP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("TASKCONSUMEID", getTASKCONSUMEID())
|
||||
.append("TASKNOTIFYID", getTASKNOTIFYID())
|
||||
.append("DRAWCODE", getDRAWCODE())
|
||||
.append("TASKID", getTASKID())
|
||||
.append("USERID", getUSERID())
|
||||
.append("TYPE", getTYPE())
|
||||
.append("CONSUMENUMBER", getCONSUMENUMBER())
|
||||
.append("TRANSEQNO", getTRANSEQNO())
|
||||
.append("TRADEORDERID", getTRADEORDERID())
|
||||
.append("STATE", getSTATE())
|
||||
.append("CREATETIMESTAMP", getCREATETIMESTAMP())
|
||||
.append("LASTUPDATETIMESTAMP", getLASTUPDATETIMESTAMP())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,276 @@
|
|||
package com.sinosoft.activity.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 活动次数记录信息对象 draw_task_notify
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public class DrawTaskNotify extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 业务主键 */
|
||||
@Excel(name = "业务主键")
|
||||
private String TASKNOTIFYID;
|
||||
|
||||
/** 活动代码 */
|
||||
@Excel(name = "活动代码")
|
||||
private String DRAWCODE;
|
||||
|
||||
/** 任务流水 */
|
||||
@Excel(name = "任务流水")
|
||||
private String TASKID;
|
||||
|
||||
/** 用户标识 */
|
||||
private String USERID;
|
||||
|
||||
/** 赠送次数类型 */
|
||||
@Excel(name = "赠送次数类型")
|
||||
private String TYPE;
|
||||
|
||||
/** 赠送次数 */
|
||||
@Excel(name = "赠送次数")
|
||||
private Long ADDNUMBER;
|
||||
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private String STATE;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date CREATETIMESTAMP;
|
||||
|
||||
/** 最后修改时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date LASTUPDATETIMESTAMP;
|
||||
|
||||
/** 可用次数 */
|
||||
@Excel(name = "可用次数")
|
||||
private Long AVAILABLENUMBER;
|
||||
|
||||
/** 账务日期 */
|
||||
private String CHECKINGDATE;
|
||||
|
||||
/** 手机号 */
|
||||
@Excel(name = "手机号")
|
||||
private String PHONE;
|
||||
|
||||
/** 请求类型 */
|
||||
private String TASKTYPE;
|
||||
|
||||
/** 身份认证状态 */
|
||||
@Excel(name = "身份认证状态")
|
||||
private String VSTATE;
|
||||
|
||||
/** 用户等级 */
|
||||
@Excel(name = "用户等级")
|
||||
private String ULEVEL;
|
||||
|
||||
/** 请求来源 */
|
||||
@Excel(name = "请求来源")
|
||||
private String SOURCE;
|
||||
|
||||
/** 是否白名单 */
|
||||
@Excel(name = "是否白名单")
|
||||
private String ISSPECIALFLAG;
|
||||
|
||||
/** 请求标识 */
|
||||
private String REQUESTFLAG;
|
||||
|
||||
public void setTASKNOTIFYID(String TASKNOTIFYID)
|
||||
{
|
||||
this.TASKNOTIFYID = TASKNOTIFYID;
|
||||
}
|
||||
|
||||
public String getTASKNOTIFYID()
|
||||
{
|
||||
return TASKNOTIFYID;
|
||||
}
|
||||
public void setDRAWCODE(String DRAWCODE)
|
||||
{
|
||||
this.DRAWCODE = DRAWCODE;
|
||||
}
|
||||
|
||||
public String getDRAWCODE()
|
||||
{
|
||||
return DRAWCODE;
|
||||
}
|
||||
public void setTASKID(String TASKID)
|
||||
{
|
||||
this.TASKID = TASKID;
|
||||
}
|
||||
|
||||
public String getTASKID()
|
||||
{
|
||||
return TASKID;
|
||||
}
|
||||
public void setUSERID(String USERID)
|
||||
{
|
||||
this.USERID = USERID;
|
||||
}
|
||||
|
||||
public String getUSERID()
|
||||
{
|
||||
return USERID;
|
||||
}
|
||||
public void setTYPE(String TYPE)
|
||||
{
|
||||
this.TYPE = TYPE;
|
||||
}
|
||||
|
||||
public String getTYPE()
|
||||
{
|
||||
return TYPE;
|
||||
}
|
||||
public void setADDNUMBER(Long ADDNUMBER)
|
||||
{
|
||||
this.ADDNUMBER = ADDNUMBER;
|
||||
}
|
||||
|
||||
public Long getADDNUMBER()
|
||||
{
|
||||
return ADDNUMBER;
|
||||
}
|
||||
public void setSTATE(String STATE)
|
||||
{
|
||||
this.STATE = STATE;
|
||||
}
|
||||
|
||||
public String getSTATE()
|
||||
{
|
||||
return STATE;
|
||||
}
|
||||
public void setCREATETIMESTAMP(Date CREATETIMESTAMP)
|
||||
{
|
||||
this.CREATETIMESTAMP = CREATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getCREATETIMESTAMP()
|
||||
{
|
||||
return CREATETIMESTAMP;
|
||||
}
|
||||
public void setLASTUPDATETIMESTAMP(Date LASTUPDATETIMESTAMP)
|
||||
{
|
||||
this.LASTUPDATETIMESTAMP = LASTUPDATETIMESTAMP;
|
||||
}
|
||||
|
||||
public Date getLASTUPDATETIMESTAMP()
|
||||
{
|
||||
return LASTUPDATETIMESTAMP;
|
||||
}
|
||||
public void setAVAILABLENUMBER(Long AVAILABLENUMBER)
|
||||
{
|
||||
this.AVAILABLENUMBER = AVAILABLENUMBER;
|
||||
}
|
||||
|
||||
public Long getAVAILABLENUMBER()
|
||||
{
|
||||
return AVAILABLENUMBER;
|
||||
}
|
||||
public void setCHECKINGDATE(String CHECKINGDATE)
|
||||
{
|
||||
this.CHECKINGDATE = CHECKINGDATE;
|
||||
}
|
||||
|
||||
public String getCHECKINGDATE()
|
||||
{
|
||||
return CHECKINGDATE;
|
||||
}
|
||||
public void setPHONE(String PHONE)
|
||||
{
|
||||
this.PHONE = PHONE;
|
||||
}
|
||||
|
||||
public String getPHONE()
|
||||
{
|
||||
return PHONE;
|
||||
}
|
||||
public void setTASKTYPE(String TASKTYPE)
|
||||
{
|
||||
this.TASKTYPE = TASKTYPE;
|
||||
}
|
||||
|
||||
public String getTASKTYPE()
|
||||
{
|
||||
return TASKTYPE;
|
||||
}
|
||||
public void setVSTATE(String VSTATE)
|
||||
{
|
||||
this.VSTATE = VSTATE;
|
||||
}
|
||||
|
||||
public String getVSTATE()
|
||||
{
|
||||
return VSTATE;
|
||||
}
|
||||
public void setULEVEL(String ULEVEL)
|
||||
{
|
||||
this.ULEVEL = ULEVEL;
|
||||
}
|
||||
|
||||
public String getULEVEL()
|
||||
{
|
||||
return ULEVEL;
|
||||
}
|
||||
public void setSOURCE(String SOURCE)
|
||||
{
|
||||
this.SOURCE = SOURCE;
|
||||
}
|
||||
|
||||
public String getSOURCE()
|
||||
{
|
||||
return SOURCE;
|
||||
}
|
||||
public void setISSPECIALFLAG(String ISSPECIALFLAG)
|
||||
{
|
||||
this.ISSPECIALFLAG = ISSPECIALFLAG;
|
||||
}
|
||||
|
||||
public String getISSPECIALFLAG()
|
||||
{
|
||||
return ISSPECIALFLAG;
|
||||
}
|
||||
public void setREQUESTFLAG(String REQUESTFLAG)
|
||||
{
|
||||
this.REQUESTFLAG = REQUESTFLAG;
|
||||
}
|
||||
|
||||
public String getREQUESTFLAG()
|
||||
{
|
||||
return REQUESTFLAG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("TASKNOTIFYID", getTASKNOTIFYID())
|
||||
.append("DRAWCODE", getDRAWCODE())
|
||||
.append("TASKID", getTASKID())
|
||||
.append("USERID", getUSERID())
|
||||
.append("TYPE", getTYPE())
|
||||
.append("ADDNUMBER", getADDNUMBER())
|
||||
.append("STATE", getSTATE())
|
||||
.append("CREATETIMESTAMP", getCREATETIMESTAMP())
|
||||
.append("LASTUPDATETIMESTAMP", getLASTUPDATETIMESTAMP())
|
||||
.append("AVAILABLENUMBER", getAVAILABLENUMBER())
|
||||
.append("CHECKINGDATE", getCHECKINGDATE())
|
||||
.append("PHONE", getPHONE())
|
||||
.append("TASKTYPE", getTASKTYPE())
|
||||
.append("VSTATE", getVSTATE())
|
||||
.append("ULEVEL", getULEVEL())
|
||||
.append("SOURCE", getSOURCE())
|
||||
.append("ISSPECIALFLAG", getISSPECIALFLAG())
|
||||
.append("REQUESTFLAG", getREQUESTFLAG())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawAwardRecord;
|
||||
|
||||
/**
|
||||
* 记录发奖信息Mapper接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface DrawAwardRecordMapper
|
||||
{
|
||||
/**
|
||||
* 查询记录发奖信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 记录发奖信息
|
||||
*/
|
||||
public DrawAwardRecord selectDrawAwardRecordById(String AWARDRECORDID);
|
||||
|
||||
/**
|
||||
* 查询记录发奖信息列表
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 记录发奖信息集合
|
||||
*/
|
||||
public List<DrawAwardRecord> selectDrawAwardRecordList(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 新增记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawAwardRecord(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 修改记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawAwardRecord(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 删除记录发奖信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawAwardRecordById(String AWARDRECORDID);
|
||||
|
||||
/**
|
||||
* 批量删除记录发奖信息
|
||||
*
|
||||
* @param AWARDRECORDIDs 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawAwardRecordByIds(String[] AWARDRECORDIDs);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawTaskConsume;
|
||||
|
||||
/**
|
||||
* 抽奖次数消费信息Mapper接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface DrawTaskConsumeMapper
|
||||
{
|
||||
/**
|
||||
* 查询抽奖次数消费信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 抽奖次数消费信息
|
||||
*/
|
||||
public DrawTaskConsume selectDrawTaskConsumeById(String TASKCONSUMEID);
|
||||
|
||||
/**
|
||||
* 查询抽奖次数消费信息列表
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 抽奖次数消费信息集合
|
||||
*/
|
||||
public List<DrawTaskConsume> selectDrawTaskConsumeList(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 新增抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawTaskConsume(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 修改抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawTaskConsume(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 删除抽奖次数消费信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskConsumeById(String TASKCONSUMEID);
|
||||
|
||||
/**
|
||||
* 批量删除抽奖次数消费信息
|
||||
*
|
||||
* @param TASKCONSUMEIDs 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskConsumeByIds(String[] TASKCONSUMEIDs);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawTaskNotify;
|
||||
|
||||
/**
|
||||
* 活动次数记录信息Mapper接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface DrawTaskNotifyMapper
|
||||
{
|
||||
/**
|
||||
* 查询活动次数记录信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 活动次数记录信息
|
||||
*/
|
||||
public DrawTaskNotify selectDrawTaskNotifyById(String USERID);
|
||||
|
||||
/**
|
||||
* 查询活动次数记录信息列表
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 活动次数记录信息集合
|
||||
*/
|
||||
public List<DrawTaskNotify> selectDrawTaskNotifyList(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 新增活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawTaskNotify(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 修改活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawTaskNotify(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 删除活动次数记录信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskNotifyById(String USERID);
|
||||
|
||||
/**
|
||||
* 批量删除活动次数记录信息
|
||||
*
|
||||
* @param USERIDs 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskNotifyByIds(String[] USERIDs);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawAwardRecord;
|
||||
|
||||
/**
|
||||
* 记录发奖信息Service接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface IDrawAwardRecordService
|
||||
{
|
||||
/**
|
||||
* 查询记录发奖信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 记录发奖信息
|
||||
*/
|
||||
public DrawAwardRecord selectDrawAwardRecordById(String AWARDRECORDID);
|
||||
|
||||
/**
|
||||
* 查询记录发奖信息列表
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 记录发奖信息集合
|
||||
*/
|
||||
public List<DrawAwardRecord> selectDrawAwardRecordList(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 新增记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawAwardRecord(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 修改记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawAwardRecord(DrawAwardRecord drawAwardRecord);
|
||||
|
||||
/**
|
||||
* 批量删除记录发奖信息
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawAwardRecordByIds(String ids);
|
||||
|
||||
/**
|
||||
* 删除记录发奖信息信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawAwardRecordById(String AWARDRECORDID);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawTaskConsume;
|
||||
|
||||
/**
|
||||
* 抽奖次数消费信息Service接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface IDrawTaskConsumeService
|
||||
{
|
||||
/**
|
||||
* 查询抽奖次数消费信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 抽奖次数消费信息
|
||||
*/
|
||||
public DrawTaskConsume selectDrawTaskConsumeById(String TASKCONSUMEID);
|
||||
|
||||
/**
|
||||
* 查询抽奖次数消费信息列表
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 抽奖次数消费信息集合
|
||||
*/
|
||||
public List<DrawTaskConsume> selectDrawTaskConsumeList(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 新增抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawTaskConsume(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 修改抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawTaskConsume(DrawTaskConsume drawTaskConsume);
|
||||
|
||||
/**
|
||||
* 批量删除抽奖次数消费信息
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskConsumeByIds(String ids);
|
||||
|
||||
/**
|
||||
* 删除抽奖次数消费信息信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskConsumeById(String TASKCONSUMEID);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.sinosoft.activity.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.sinosoft.activity.domain.DrawTaskNotify;
|
||||
|
||||
/**
|
||||
* 活动次数记录信息Service接口
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
public interface IDrawTaskNotifyService
|
||||
{
|
||||
/**
|
||||
* 查询活动次数记录信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 活动次数记录信息
|
||||
*/
|
||||
public DrawTaskNotify selectDrawTaskNotifyById(String USERID);
|
||||
|
||||
/**
|
||||
* 查询活动次数记录信息列表
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 活动次数记录信息集合
|
||||
*/
|
||||
public List<DrawTaskNotify> selectDrawTaskNotifyList(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 新增活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDrawTaskNotify(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 修改活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDrawTaskNotify(DrawTaskNotify drawTaskNotify);
|
||||
|
||||
/**
|
||||
* 批量删除活动次数记录信息
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskNotifyByIds(String ids);
|
||||
|
||||
/**
|
||||
* 删除活动次数记录信息信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDrawTaskNotifyById(String USERID);
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
package com.sinosoft.activity.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.sinosoft.activity.mapper.DrawAwardRecordMapper;
|
||||
import com.sinosoft.activity.domain.DrawAwardRecord;
|
||||
import com.sinosoft.activity.service.IDrawAwardRecordService;
|
||||
import com.ruoyi.common.core.text.Convert;
|
||||
|
||||
/**
|
||||
* 记录发奖信息Service业务层处理
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Service
|
||||
public class DrawAwardRecordServiceImpl implements IDrawAwardRecordService
|
||||
{
|
||||
@Autowired
|
||||
private DrawAwardRecordMapper drawAwardRecordMapper;
|
||||
|
||||
/**
|
||||
* 查询记录发奖信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 记录发奖信息
|
||||
*/
|
||||
@Override
|
||||
public DrawAwardRecord selectDrawAwardRecordById(String AWARDRECORDID)
|
||||
{
|
||||
return drawAwardRecordMapper.selectDrawAwardRecordById(AWARDRECORDID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询记录发奖信息列表
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 记录发奖信息
|
||||
*/
|
||||
@Override
|
||||
public List<DrawAwardRecord> selectDrawAwardRecordList(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
return drawAwardRecordMapper.selectDrawAwardRecordList(drawAwardRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDrawAwardRecord(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
return drawAwardRecordMapper.insertDrawAwardRecord(drawAwardRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改记录发奖信息
|
||||
*
|
||||
* @param drawAwardRecord 记录发奖信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDrawAwardRecord(DrawAwardRecord drawAwardRecord)
|
||||
{
|
||||
return drawAwardRecordMapper.updateDrawAwardRecord(drawAwardRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除记录发奖信息对象
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawAwardRecordByIds(String ids)
|
||||
{
|
||||
return drawAwardRecordMapper.deleteDrawAwardRecordByIds(Convert.toStrArray(ids));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除记录发奖信息信息
|
||||
*
|
||||
* @param AWARDRECORDID 记录发奖信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawAwardRecordById(String AWARDRECORDID)
|
||||
{
|
||||
return drawAwardRecordMapper.deleteDrawAwardRecordById(AWARDRECORDID);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
package com.sinosoft.activity.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.sinosoft.activity.mapper.DrawTaskConsumeMapper;
|
||||
import com.sinosoft.activity.domain.DrawTaskConsume;
|
||||
import com.sinosoft.activity.service.IDrawTaskConsumeService;
|
||||
import com.ruoyi.common.core.text.Convert;
|
||||
|
||||
/**
|
||||
* 抽奖次数消费信息Service业务层处理
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Service
|
||||
public class DrawTaskConsumeServiceImpl implements IDrawTaskConsumeService
|
||||
{
|
||||
@Autowired
|
||||
private DrawTaskConsumeMapper drawTaskConsumeMapper;
|
||||
|
||||
/**
|
||||
* 查询抽奖次数消费信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 抽奖次数消费信息
|
||||
*/
|
||||
@Override
|
||||
public DrawTaskConsume selectDrawTaskConsumeById(String TASKCONSUMEID)
|
||||
{
|
||||
return drawTaskConsumeMapper.selectDrawTaskConsumeById(TASKCONSUMEID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询抽奖次数消费信息列表
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 抽奖次数消费信息
|
||||
*/
|
||||
@Override
|
||||
public List<DrawTaskConsume> selectDrawTaskConsumeList(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
return drawTaskConsumeMapper.selectDrawTaskConsumeList(drawTaskConsume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDrawTaskConsume(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
return drawTaskConsumeMapper.insertDrawTaskConsume(drawTaskConsume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改抽奖次数消费信息
|
||||
*
|
||||
* @param drawTaskConsume 抽奖次数消费信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDrawTaskConsume(DrawTaskConsume drawTaskConsume)
|
||||
{
|
||||
return drawTaskConsumeMapper.updateDrawTaskConsume(drawTaskConsume);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除抽奖次数消费信息对象
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawTaskConsumeByIds(String ids)
|
||||
{
|
||||
return drawTaskConsumeMapper.deleteDrawTaskConsumeByIds(Convert.toStrArray(ids));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除抽奖次数消费信息信息
|
||||
*
|
||||
* @param TASKCONSUMEID 抽奖次数消费信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawTaskConsumeById(String TASKCONSUMEID)
|
||||
{
|
||||
return drawTaskConsumeMapper.deleteDrawTaskConsumeById(TASKCONSUMEID);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
package com.sinosoft.activity.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.sinosoft.activity.mapper.DrawTaskNotifyMapper;
|
||||
import com.sinosoft.activity.domain.DrawTaskNotify;
|
||||
import com.sinosoft.activity.service.IDrawTaskNotifyService;
|
||||
import com.ruoyi.common.core.text.Convert;
|
||||
|
||||
/**
|
||||
* 活动次数记录信息Service业务层处理
|
||||
*
|
||||
* @author dy
|
||||
* @date 2021-03-26
|
||||
*/
|
||||
@Service
|
||||
public class DrawTaskNotifyServiceImpl implements IDrawTaskNotifyService
|
||||
{
|
||||
@Autowired
|
||||
private DrawTaskNotifyMapper drawTaskNotifyMapper;
|
||||
|
||||
/**
|
||||
* 查询活动次数记录信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 活动次数记录信息
|
||||
*/
|
||||
@Override
|
||||
public DrawTaskNotify selectDrawTaskNotifyById(String USERID)
|
||||
{
|
||||
return drawTaskNotifyMapper.selectDrawTaskNotifyById(USERID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询活动次数记录信息列表
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 活动次数记录信息
|
||||
*/
|
||||
@Override
|
||||
public List<DrawTaskNotify> selectDrawTaskNotifyList(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
return drawTaskNotifyMapper.selectDrawTaskNotifyList(drawTaskNotify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDrawTaskNotify(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
return drawTaskNotifyMapper.insertDrawTaskNotify(drawTaskNotify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改活动次数记录信息
|
||||
*
|
||||
* @param drawTaskNotify 活动次数记录信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDrawTaskNotify(DrawTaskNotify drawTaskNotify)
|
||||
{
|
||||
return drawTaskNotifyMapper.updateDrawTaskNotify(drawTaskNotify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除活动次数记录信息对象
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawTaskNotifyByIds(String ids)
|
||||
{
|
||||
return drawTaskNotifyMapper.deleteDrawTaskNotifyByIds(Convert.toStrArray(ids));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除活动次数记录信息信息
|
||||
*
|
||||
* @param USERID 活动次数记录信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDrawTaskNotifyById(String USERID)
|
||||
{
|
||||
return drawTaskNotifyMapper.deleteDrawTaskNotifyById(USERID);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.sinosoft.activity.mapper.DrawAwardRecordMapper">
|
||||
|
||||
<resultMap type="DrawAwardRecord" id="DrawAwardRecordResult">
|
||||
<result property="AWARDRECORDID" column="AWARDRECORDID" />
|
||||
<result property="DRAWCODE" column="DRAWCODE" />
|
||||
<result property="PRIZECODE" column="PRIZECODE" />
|
||||
<result property="USERID" column="USERID" />
|
||||
<result property="DRAWRECORDID" column="DRAWRECORDID" />
|
||||
<result property="AWARDTIME" column="AWARDTIME" />
|
||||
<result property="AWARDRESULT" column="AWARDRESULT" />
|
||||
<result property="RETURNCODE" column="RETURNCODE" />
|
||||
<result property="RETURNMESSAGE" column="RETURNMESSAGE" />
|
||||
<result property="PHONE" column="PHONE" />
|
||||
<result property="ADDRESS" column="ADDRESS" />
|
||||
<result property="USERNAME" column="USERNAME" />
|
||||
<result property="CREATETIMESTAMP" column="CREATETIMESTAMP" />
|
||||
<result property="LASTUPDATETIMESTAMP" column="LASTUPDATETIMESTAMP" />
|
||||
<result property="DRAWTRANSEQNO" column="DRAWTRANSEQNO" />
|
||||
<result property="AWARDTRANSEQNO" column="AWARDTRANSEQNO" />
|
||||
<result property="PRIZELEVEL" column="PRIZELEVEL" />
|
||||
<result property="PRIZETYPE" column="PRIZETYPE" />
|
||||
<result property="MERCHANTCODE" column="MERCHANTCODE" />
|
||||
<result property="MERCHANTSYSCODE" column="MERCHANTSYSCODE" />
|
||||
<result property="CHANNEL" column="CHANNEL" />
|
||||
<result property="BUSINESSAREA" column="BUSINESSAREA" />
|
||||
<result property="CITY" column="CITY" />
|
||||
<result property="EXTID" column="EXTID" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDrawAwardRecordVo">
|
||||
select AWARDRECORDID, DRAWCODE, PRIZECODE, USERID, DRAWRECORDID, AWARDTIME, AWARDRESULT, RETURNCODE, RETURNMESSAGE, PHONE, ADDRESS, USERNAME, CREATETIMESTAMP, LASTUPDATETIMESTAMP, DRAWTRANSEQNO, AWARDTRANSEQNO, PRIZELEVEL, PRIZETYPE, MERCHANTCODE, MERCHANTSYSCODE, CHANNEL, BUSINESSAREA, CITY, EXTID from draw_award_record
|
||||
</sql>
|
||||
|
||||
<select id="selectDrawAwardRecordList" parameterType="DrawAwardRecord" resultMap="DrawAwardRecordResult">
|
||||
<include refid="selectDrawAwardRecordVo"/>
|
||||
<where>
|
||||
<if test="DRAWCODE != null and DRAWCODE != ''"> and DRAWCODE = #{DRAWCODE}</if>
|
||||
<if test="PRIZECODE != null and PRIZECODE != ''"> and PRIZECODE = #{PRIZECODE}</if>
|
||||
<if test="USERID != null and USERID != ''"> and USERID = #{USERID}</if>
|
||||
<if test="DRAWRECORDID != null and DRAWRECORDID != ''"> and DRAWRECORDID = #{DRAWRECORDID}</if>
|
||||
<if test="AWARDTIME != null "> and AWARDTIME = #{AWARDTIME}</if>
|
||||
<if test="AWARDRESULT != null and AWARDRESULT != ''"> and AWARDRESULT = #{AWARDRESULT}</if>
|
||||
<if test="RETURNCODE != null and RETURNCODE != ''"> and RETURNCODE = #{RETURNCODE}</if>
|
||||
<if test="RETURNMESSAGE != null and RETURNMESSAGE != ''"> and RETURNMESSAGE = #{RETURNMESSAGE}</if>
|
||||
<if test="PHONE != null and PHONE != ''"> and PHONE = #{PHONE}</if>
|
||||
<if test="ADDRESS != null and ADDRESS != ''"> and ADDRESS = #{ADDRESS}</if>
|
||||
<if test="USERNAME != null and USERNAME != ''"> and USERNAME like concat('%', #{USERNAME}, '%')</if>
|
||||
<if test="CREATETIMESTAMP != null "> and CREATETIMESTAMP = #{CREATETIMESTAMP}</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null "> and LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP}</if>
|
||||
<if test="DRAWTRANSEQNO != null and DRAWTRANSEQNO != ''"> and DRAWTRANSEQNO = #{DRAWTRANSEQNO}</if>
|
||||
<if test="AWARDTRANSEQNO != null and AWARDTRANSEQNO != ''"> and AWARDTRANSEQNO = #{AWARDTRANSEQNO}</if>
|
||||
<if test="PRIZELEVEL != null and PRIZELEVEL != ''"> and PRIZELEVEL = #{PRIZELEVEL}</if>
|
||||
<if test="PRIZETYPE != null and PRIZETYPE != ''"> and PRIZETYPE = #{PRIZETYPE}</if>
|
||||
<if test="MERCHANTCODE != null and MERCHANTCODE != ''"> and MERCHANTCODE = #{MERCHANTCODE}</if>
|
||||
<if test="MERCHANTSYSCODE != null and MERCHANTSYSCODE != ''"> and MERCHANTSYSCODE = #{MERCHANTSYSCODE}</if>
|
||||
<if test="CHANNEL != null and CHANNEL != ''"> and CHANNEL = #{CHANNEL}</if>
|
||||
<if test="BUSINESSAREA != null and BUSINESSAREA != ''"> and BUSINESSAREA = #{BUSINESSAREA}</if>
|
||||
<if test="CITY != null and CITY != ''"> and CITY = #{CITY}</if>
|
||||
<if test="EXTID != null and EXTID != ''"> and EXTID = #{EXTID}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDrawAwardRecordById" parameterType="String" resultMap="DrawAwardRecordResult">
|
||||
<include refid="selectDrawAwardRecordVo"/>
|
||||
where AWARDRECORDID = #{AWARDRECORDID}
|
||||
</select>
|
||||
|
||||
<insert id="insertDrawAwardRecord" parameterType="DrawAwardRecord">
|
||||
insert into draw_award_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="AWARDRECORDID != null">AWARDRECORDID,</if>
|
||||
<if test="DRAWCODE != null">DRAWCODE,</if>
|
||||
<if test="PRIZECODE != null">PRIZECODE,</if>
|
||||
<if test="USERID != null">USERID,</if>
|
||||
<if test="DRAWRECORDID != null">DRAWRECORDID,</if>
|
||||
<if test="AWARDTIME != null">AWARDTIME,</if>
|
||||
<if test="AWARDRESULT != null">AWARDRESULT,</if>
|
||||
<if test="RETURNCODE != null">RETURNCODE,</if>
|
||||
<if test="RETURNMESSAGE != null">RETURNMESSAGE,</if>
|
||||
<if test="PHONE != null">PHONE,</if>
|
||||
<if test="ADDRESS != null">ADDRESS,</if>
|
||||
<if test="USERNAME != null">USERNAME,</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP,</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP,</if>
|
||||
<if test="DRAWTRANSEQNO != null">DRAWTRANSEQNO,</if>
|
||||
<if test="AWARDTRANSEQNO != null">AWARDTRANSEQNO,</if>
|
||||
<if test="PRIZELEVEL != null">PRIZELEVEL,</if>
|
||||
<if test="PRIZETYPE != null">PRIZETYPE,</if>
|
||||
<if test="MERCHANTCODE != null">MERCHANTCODE,</if>
|
||||
<if test="MERCHANTSYSCODE != null">MERCHANTSYSCODE,</if>
|
||||
<if test="CHANNEL != null">CHANNEL,</if>
|
||||
<if test="BUSINESSAREA != null">BUSINESSAREA,</if>
|
||||
<if test="CITY != null">CITY,</if>
|
||||
<if test="EXTID != null">EXTID,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="AWARDRECORDID != null">#{AWARDRECORDID},</if>
|
||||
<if test="DRAWCODE != null">#{DRAWCODE},</if>
|
||||
<if test="PRIZECODE != null">#{PRIZECODE},</if>
|
||||
<if test="USERID != null">#{USERID},</if>
|
||||
<if test="DRAWRECORDID != null">#{DRAWRECORDID},</if>
|
||||
<if test="AWARDTIME != null">#{AWARDTIME},</if>
|
||||
<if test="AWARDRESULT != null">#{AWARDRESULT},</if>
|
||||
<if test="RETURNCODE != null">#{RETURNCODE},</if>
|
||||
<if test="RETURNMESSAGE != null">#{RETURNMESSAGE},</if>
|
||||
<if test="PHONE != null">#{PHONE},</if>
|
||||
<if test="ADDRESS != null">#{ADDRESS},</if>
|
||||
<if test="USERNAME != null">#{USERNAME},</if>
|
||||
<if test="CREATETIMESTAMP != null">#{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">#{LASTUPDATETIMESTAMP},</if>
|
||||
<if test="DRAWTRANSEQNO != null">#{DRAWTRANSEQNO},</if>
|
||||
<if test="AWARDTRANSEQNO != null">#{AWARDTRANSEQNO},</if>
|
||||
<if test="PRIZELEVEL != null">#{PRIZELEVEL},</if>
|
||||
<if test="PRIZETYPE != null">#{PRIZETYPE},</if>
|
||||
<if test="MERCHANTCODE != null">#{MERCHANTCODE},</if>
|
||||
<if test="MERCHANTSYSCODE != null">#{MERCHANTSYSCODE},</if>
|
||||
<if test="CHANNEL != null">#{CHANNEL},</if>
|
||||
<if test="BUSINESSAREA != null">#{BUSINESSAREA},</if>
|
||||
<if test="CITY != null">#{CITY},</if>
|
||||
<if test="EXTID != null">#{EXTID},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDrawAwardRecord" parameterType="DrawAwardRecord">
|
||||
update draw_award_record
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="DRAWCODE != null">DRAWCODE = #{DRAWCODE},</if>
|
||||
<if test="PRIZECODE != null">PRIZECODE = #{PRIZECODE},</if>
|
||||
<if test="USERID != null">USERID = #{USERID},</if>
|
||||
<if test="DRAWRECORDID != null">DRAWRECORDID = #{DRAWRECORDID},</if>
|
||||
<if test="AWARDTIME != null">AWARDTIME = #{AWARDTIME},</if>
|
||||
<if test="AWARDRESULT != null">AWARDRESULT = #{AWARDRESULT},</if>
|
||||
<if test="RETURNCODE != null">RETURNCODE = #{RETURNCODE},</if>
|
||||
<if test="RETURNMESSAGE != null">RETURNMESSAGE = #{RETURNMESSAGE},</if>
|
||||
<if test="PHONE != null">PHONE = #{PHONE},</if>
|
||||
<if test="ADDRESS != null">ADDRESS = #{ADDRESS},</if>
|
||||
<if test="USERNAME != null">USERNAME = #{USERNAME},</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP = #{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP},</if>
|
||||
<if test="DRAWTRANSEQNO != null">DRAWTRANSEQNO = #{DRAWTRANSEQNO},</if>
|
||||
<if test="AWARDTRANSEQNO != null">AWARDTRANSEQNO = #{AWARDTRANSEQNO},</if>
|
||||
<if test="PRIZELEVEL != null">PRIZELEVEL = #{PRIZELEVEL},</if>
|
||||
<if test="PRIZETYPE != null">PRIZETYPE = #{PRIZETYPE},</if>
|
||||
<if test="MERCHANTCODE != null">MERCHANTCODE = #{MERCHANTCODE},</if>
|
||||
<if test="MERCHANTSYSCODE != null">MERCHANTSYSCODE = #{MERCHANTSYSCODE},</if>
|
||||
<if test="CHANNEL != null">CHANNEL = #{CHANNEL},</if>
|
||||
<if test="BUSINESSAREA != null">BUSINESSAREA = #{BUSINESSAREA},</if>
|
||||
<if test="CITY != null">CITY = #{CITY},</if>
|
||||
<if test="EXTID != null">EXTID = #{EXTID},</if>
|
||||
</trim>
|
||||
where AWARDRECORDID = #{AWARDRECORDID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDrawAwardRecordById" parameterType="String">
|
||||
delete from draw_award_record where AWARDRECORDID = #{AWARDRECORDID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDrawAwardRecordByIds" parameterType="String">
|
||||
delete from draw_award_record where AWARDRECORDID in
|
||||
<foreach item="AWARDRECORDID" collection="array" open="(" separator="," close=")">
|
||||
#{AWARDRECORDID}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.sinosoft.activity.mapper.DrawTaskConsumeMapper">
|
||||
|
||||
<resultMap type="DrawTaskConsume" id="DrawTaskConsumeResult">
|
||||
<result property="TASKCONSUMEID" column="TASKCONSUMEID" />
|
||||
<result property="TASKNOTIFYID" column="TASKNOTIFYID" />
|
||||
<result property="DRAWCODE" column="DRAWCODE" />
|
||||
<result property="TASKID" column="TASKID" />
|
||||
<result property="USERID" column="USERID" />
|
||||
<result property="TYPE" column="TYPE" />
|
||||
<result property="CONSUMENUMBER" column="CONSUMENUMBER" />
|
||||
<result property="TRANSEQNO" column="TRANSEQNO" />
|
||||
<result property="TRADEORDERID" column="TRADEORDERID" />
|
||||
<result property="STATE" column="STATE" />
|
||||
<result property="CREATETIMESTAMP" column="CREATETIMESTAMP" />
|
||||
<result property="LASTUPDATETIMESTAMP" column="LASTUPDATETIMESTAMP" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDrawTaskConsumeVo">
|
||||
select TASKCONSUMEID, TASKNOTIFYID, DRAWCODE, TASKID, USERID, TYPE, CONSUMENUMBER, TRANSEQNO, TRADEORDERID, STATE, CREATETIMESTAMP, LASTUPDATETIMESTAMP from draw_task_consume
|
||||
</sql>
|
||||
|
||||
<select id="selectDrawTaskConsumeList" parameterType="DrawTaskConsume" resultMap="DrawTaskConsumeResult">
|
||||
<include refid="selectDrawTaskConsumeVo"/>
|
||||
<where>
|
||||
<if test="TASKNOTIFYID != null and TASKNOTIFYID != ''"> and TASKNOTIFYID = #{TASKNOTIFYID}</if>
|
||||
<if test="DRAWCODE != null and DRAWCODE != ''"> and DRAWCODE = #{DRAWCODE}</if>
|
||||
<if test="TASKID != null and TASKID != ''"> and TASKID = #{TASKID}</if>
|
||||
<if test="USERID != null and USERID != ''"> and USERID = #{USERID}</if>
|
||||
<if test="TYPE != null and TYPE != ''"> and TYPE = #{TYPE}</if>
|
||||
<if test="CONSUMENUMBER != null "> and CONSUMENUMBER = #{CONSUMENUMBER}</if>
|
||||
<if test="TRANSEQNO != null and TRANSEQNO != ''"> and TRANSEQNO = #{TRANSEQNO}</if>
|
||||
<if test="TRADEORDERID != null and TRADEORDERID != ''"> and TRADEORDERID = #{TRADEORDERID}</if>
|
||||
<if test="STATE != null and STATE != ''"> and STATE = #{STATE}</if>
|
||||
<if test="CREATETIMESTAMP != null "> and CREATETIMESTAMP = #{CREATETIMESTAMP}</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null "> and LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDrawTaskConsumeById" parameterType="String" resultMap="DrawTaskConsumeResult">
|
||||
<include refid="selectDrawTaskConsumeVo"/>
|
||||
where TASKCONSUMEID = #{TASKCONSUMEID}
|
||||
</select>
|
||||
|
||||
<insert id="insertDrawTaskConsume" parameterType="DrawTaskConsume">
|
||||
insert into draw_task_consume
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="TASKCONSUMEID != null">TASKCONSUMEID,</if>
|
||||
<if test="TASKNOTIFYID != null">TASKNOTIFYID,</if>
|
||||
<if test="DRAWCODE != null">DRAWCODE,</if>
|
||||
<if test="TASKID != null">TASKID,</if>
|
||||
<if test="USERID != null">USERID,</if>
|
||||
<if test="TYPE != null">TYPE,</if>
|
||||
<if test="CONSUMENUMBER != null">CONSUMENUMBER,</if>
|
||||
<if test="TRANSEQNO != null">TRANSEQNO,</if>
|
||||
<if test="TRADEORDERID != null">TRADEORDERID,</if>
|
||||
<if test="STATE != null">STATE,</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP,</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="TASKCONSUMEID != null">#{TASKCONSUMEID},</if>
|
||||
<if test="TASKNOTIFYID != null">#{TASKNOTIFYID},</if>
|
||||
<if test="DRAWCODE != null">#{DRAWCODE},</if>
|
||||
<if test="TASKID != null">#{TASKID},</if>
|
||||
<if test="USERID != null">#{USERID},</if>
|
||||
<if test="TYPE != null">#{TYPE},</if>
|
||||
<if test="CONSUMENUMBER != null">#{CONSUMENUMBER},</if>
|
||||
<if test="TRANSEQNO != null">#{TRANSEQNO},</if>
|
||||
<if test="TRADEORDERID != null">#{TRADEORDERID},</if>
|
||||
<if test="STATE != null">#{STATE},</if>
|
||||
<if test="CREATETIMESTAMP != null">#{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">#{LASTUPDATETIMESTAMP},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDrawTaskConsume" parameterType="DrawTaskConsume">
|
||||
update draw_task_consume
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="TASKNOTIFYID != null">TASKNOTIFYID = #{TASKNOTIFYID},</if>
|
||||
<if test="DRAWCODE != null">DRAWCODE = #{DRAWCODE},</if>
|
||||
<if test="TASKID != null">TASKID = #{TASKID},</if>
|
||||
<if test="USERID != null">USERID = #{USERID},</if>
|
||||
<if test="TYPE != null">TYPE = #{TYPE},</if>
|
||||
<if test="CONSUMENUMBER != null">CONSUMENUMBER = #{CONSUMENUMBER},</if>
|
||||
<if test="TRANSEQNO != null">TRANSEQNO = #{TRANSEQNO},</if>
|
||||
<if test="TRADEORDERID != null">TRADEORDERID = #{TRADEORDERID},</if>
|
||||
<if test="STATE != null">STATE = #{STATE},</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP = #{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP},</if>
|
||||
</trim>
|
||||
where TASKCONSUMEID = #{TASKCONSUMEID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDrawTaskConsumeById" parameterType="String">
|
||||
delete from draw_task_consume where TASKCONSUMEID = #{TASKCONSUMEID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDrawTaskConsumeByIds" parameterType="String">
|
||||
delete from draw_task_consume where TASKCONSUMEID in
|
||||
<foreach item="TASKCONSUMEID" collection="array" open="(" separator="," close=")">
|
||||
#{TASKCONSUMEID}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,136 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.sinosoft.activity.mapper.DrawTaskNotifyMapper">
|
||||
|
||||
<resultMap type="DrawTaskNotify" id="DrawTaskNotifyResult">
|
||||
<result property="TASKNOTIFYID" column="TASKNOTIFYID" />
|
||||
<result property="DRAWCODE" column="DRAWCODE" />
|
||||
<result property="TASKID" column="TASKID" />
|
||||
<result property="USERID" column="USERID" />
|
||||
<result property="TYPE" column="TYPE" />
|
||||
<result property="ADDNUMBER" column="ADDNUMBER" />
|
||||
<result property="STATE" column="STATE" />
|
||||
<result property="CREATETIMESTAMP" column="CREATETIMESTAMP" />
|
||||
<result property="LASTUPDATETIMESTAMP" column="LASTUPDATETIMESTAMP" />
|
||||
<result property="AVAILABLENUMBER" column="AVAILABLENUMBER" />
|
||||
<result property="CHECKINGDATE" column="CHECKINGDATE" />
|
||||
<result property="PHONE" column="PHONE" />
|
||||
<result property="TASKTYPE" column="TASKTYPE" />
|
||||
<result property="VSTATE" column="VSTATE" />
|
||||
<result property="ULEVEL" column="ULEVEL" />
|
||||
<result property="SOURCE" column="SOURCE" />
|
||||
<result property="ISSPECIALFLAG" column="ISSPECIALFLAG" />
|
||||
<result property="REQUESTFLAG" column="REQUESTFLAG" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDrawTaskNotifyVo">
|
||||
select TASKNOTIFYID, DRAWCODE, TASKID, USERID, TYPE, ADDNUMBER, STATE, CREATETIMESTAMP, LASTUPDATETIMESTAMP, AVAILABLENUMBER, CHECKINGDATE, PHONE, TASKTYPE, VSTATE, ULEVEL, SOURCE, ISSPECIALFLAG, REQUESTFLAG from draw_task_notify
|
||||
</sql>
|
||||
|
||||
<select id="selectDrawTaskNotifyList" parameterType="DrawTaskNotify" resultMap="DrawTaskNotifyResult">
|
||||
<include refid="selectDrawTaskNotifyVo"/>
|
||||
<where>
|
||||
<if test="TASKNOTIFYID != null and TASKNOTIFYID != ''"> and TASKNOTIFYID = #{TASKNOTIFYID}</if>
|
||||
<if test="DRAWCODE != null and DRAWCODE != ''"> and DRAWCODE = #{DRAWCODE}</if>
|
||||
<if test="TASKID != null and TASKID != ''"> and TASKID = #{TASKID}</if>
|
||||
<if test="TYPE != null and TYPE != ''"> and TYPE = #{TYPE}</if>
|
||||
<if test="ADDNUMBER != null "> and ADDNUMBER = #{ADDNUMBER}</if>
|
||||
<if test="STATE != null and STATE != ''"> and STATE = #{STATE}</if>
|
||||
<if test="CREATETIMESTAMP != null "> and CREATETIMESTAMP = #{CREATETIMESTAMP}</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null "> and LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP}</if>
|
||||
<if test="AVAILABLENUMBER != null "> and AVAILABLENUMBER = #{AVAILABLENUMBER}</if>
|
||||
<if test="PHONE != null and PHONE != ''"> and PHONE = #{PHONE}</if>
|
||||
<if test="VSTATE != null and VSTATE != ''"> and VSTATE = #{VSTATE}</if>
|
||||
<if test="ULEVEL != null and ULEVEL != ''"> and ULEVEL = #{ULEVEL}</if>
|
||||
<if test="SOURCE != null and SOURCE != ''"> and SOURCE = #{SOURCE}</if>
|
||||
<if test="ISSPECIALFLAG != null and ISSPECIALFLAG != ''"> and ISSPECIALFLAG = #{ISSPECIALFLAG}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDrawTaskNotifyById" parameterType="String" resultMap="DrawTaskNotifyResult">
|
||||
<include refid="selectDrawTaskNotifyVo"/>
|
||||
where USERID = #{USERID}
|
||||
</select>
|
||||
|
||||
<insert id="insertDrawTaskNotify" parameterType="DrawTaskNotify">
|
||||
insert into draw_task_notify
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="TASKNOTIFYID != null and TASKNOTIFYID != ''">TASKNOTIFYID,</if>
|
||||
<if test="DRAWCODE != null">DRAWCODE,</if>
|
||||
<if test="TASKID != null">TASKID,</if>
|
||||
<if test="USERID != null">USERID,</if>
|
||||
<if test="TYPE != null">TYPE,</if>
|
||||
<if test="ADDNUMBER != null">ADDNUMBER,</if>
|
||||
<if test="STATE != null">STATE,</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP,</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP,</if>
|
||||
<if test="AVAILABLENUMBER != null">AVAILABLENUMBER,</if>
|
||||
<if test="CHECKINGDATE != null">CHECKINGDATE,</if>
|
||||
<if test="PHONE != null">PHONE,</if>
|
||||
<if test="TASKTYPE != null">TASKTYPE,</if>
|
||||
<if test="VSTATE != null">VSTATE,</if>
|
||||
<if test="ULEVEL != null">ULEVEL,</if>
|
||||
<if test="SOURCE != null">SOURCE,</if>
|
||||
<if test="ISSPECIALFLAG != null">ISSPECIALFLAG,</if>
|
||||
<if test="REQUESTFLAG != null">REQUESTFLAG,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="TASKNOTIFYID != null and TASKNOTIFYID != ''">#{TASKNOTIFYID},</if>
|
||||
<if test="DRAWCODE != null">#{DRAWCODE},</if>
|
||||
<if test="TASKID != null">#{TASKID},</if>
|
||||
<if test="USERID != null">#{USERID},</if>
|
||||
<if test="TYPE != null">#{TYPE},</if>
|
||||
<if test="ADDNUMBER != null">#{ADDNUMBER},</if>
|
||||
<if test="STATE != null">#{STATE},</if>
|
||||
<if test="CREATETIMESTAMP != null">#{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">#{LASTUPDATETIMESTAMP},</if>
|
||||
<if test="AVAILABLENUMBER != null">#{AVAILABLENUMBER},</if>
|
||||
<if test="CHECKINGDATE != null">#{CHECKINGDATE},</if>
|
||||
<if test="PHONE != null">#{PHONE},</if>
|
||||
<if test="TASKTYPE != null">#{TASKTYPE},</if>
|
||||
<if test="VSTATE != null">#{VSTATE},</if>
|
||||
<if test="ULEVEL != null">#{ULEVEL},</if>
|
||||
<if test="SOURCE != null">#{SOURCE},</if>
|
||||
<if test="ISSPECIALFLAG != null">#{ISSPECIALFLAG},</if>
|
||||
<if test="REQUESTFLAG != null">#{REQUESTFLAG},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDrawTaskNotify" parameterType="DrawTaskNotify">
|
||||
update draw_task_notify
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="TASKNOTIFYID != null and TASKNOTIFYID != ''">TASKNOTIFYID = #{TASKNOTIFYID},</if>
|
||||
<if test="DRAWCODE != null">DRAWCODE = #{DRAWCODE},</if>
|
||||
<if test="TASKID != null">TASKID = #{TASKID},</if>
|
||||
<if test="TYPE != null">TYPE = #{TYPE},</if>
|
||||
<if test="ADDNUMBER != null">ADDNUMBER = #{ADDNUMBER},</if>
|
||||
<if test="STATE != null">STATE = #{STATE},</if>
|
||||
<if test="CREATETIMESTAMP != null">CREATETIMESTAMP = #{CREATETIMESTAMP},</if>
|
||||
<if test="LASTUPDATETIMESTAMP != null">LASTUPDATETIMESTAMP = #{LASTUPDATETIMESTAMP},</if>
|
||||
<if test="AVAILABLENUMBER != null">AVAILABLENUMBER = #{AVAILABLENUMBER},</if>
|
||||
<if test="CHECKINGDATE != null">CHECKINGDATE = #{CHECKINGDATE},</if>
|
||||
<if test="PHONE != null">PHONE = #{PHONE},</if>
|
||||
<if test="TASKTYPE != null">TASKTYPE = #{TASKTYPE},</if>
|
||||
<if test="VSTATE != null">VSTATE = #{VSTATE},</if>
|
||||
<if test="ULEVEL != null">ULEVEL = #{ULEVEL},</if>
|
||||
<if test="SOURCE != null">SOURCE = #{SOURCE},</if>
|
||||
<if test="ISSPECIALFLAG != null">ISSPECIALFLAG = #{ISSPECIALFLAG},</if>
|
||||
<if test="REQUESTFLAG != null">REQUESTFLAG = #{REQUESTFLAG},</if>
|
||||
</trim>
|
||||
where USERID = #{USERID}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDrawTaskNotifyById" parameterType="String">
|
||||
delete from draw_task_notify where USERID = #{USERID}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDrawTaskNotifyByIds" parameterType="String">
|
||||
delete from draw_task_notify where USERID in
|
||||
<foreach item="USERID" collection="array" open="(" separator="," close=")">
|
||||
#{USERID}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,193 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||
<head>
|
||||
<th:block th:include="include :: header('活动次数记录信息列表')" />
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="container-div">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<li>
|
||||
<label>活动代码:</label>
|
||||
<input type="text" name="DRAWCODE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>任务流水:</label>
|
||||
<input type="text" name="TASKID"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>赠送次数类型:</label>
|
||||
<select name="TYPE">
|
||||
<option value="">所有</option>
|
||||
<option value="-1">代码生成请选择字典属性</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>赠送次数:</label>
|
||||
<input type="text" name="ADDNUMBER"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>状态:</label>
|
||||
<input type="text" name="STATE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>可用次数:</label>
|
||||
<input type="text" name="AVAILABLENUMBER"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>手机号:</label>
|
||||
<input type="text" name="PHONE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>身份认证状态:</label>
|
||||
<input type="text" name="VSTATE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>用户等级:</label>
|
||||
<input type="text" name="ULEVEL"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>请求来源:</label>
|
||||
<input type="text" name="SOURCE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>是否白名单:</label>
|
||||
<input type="text" name="ISSPECIALFLAG"/>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:DrawTaskNotify:add">-->
|
||||
<!-- <i class="fa fa-plus"></i> 添加-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:DrawTaskNotify:edit">-->
|
||||
<!-- <i class="fa fa-edit"></i> 修改-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:DrawTaskNotify:remove">-->
|
||||
<!-- <i class="fa fa-remove"></i> 删除-->
|
||||
<!-- </a>-->
|
||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:DrawTaskNotify:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-12 select-table table-striped">
|
||||
<table id="bootstrap-table"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:remove')}]];
|
||||
var STATEDatas = [[${@dict.getType('status')}]];
|
||||
var prefix = ctx + "activity/DrawTaskNotify";
|
||||
|
||||
$(function() {
|
||||
var options = {
|
||||
url: prefix + "/list",
|
||||
createUrl: prefix + "/add",
|
||||
updateUrl: prefix + "/edit/{id}",
|
||||
removeUrl: prefix + "/remove",
|
||||
exportUrl: prefix + "/export",
|
||||
modalName: "活动次数记录信息",
|
||||
columns: [{
|
||||
checkbox: true
|
||||
},
|
||||
{
|
||||
field: 'tasknotifyid',
|
||||
title: '业务主键'
|
||||
},
|
||||
{
|
||||
field: 'drawcode',
|
||||
title: '活动代码'
|
||||
},
|
||||
{
|
||||
field: 'taskid',
|
||||
title: '任务流水'
|
||||
},
|
||||
{
|
||||
field: 'userid',
|
||||
title: '用户标识',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'type',
|
||||
title: '赠送次数类型'
|
||||
},
|
||||
{
|
||||
field: 'addnumber',
|
||||
title: '赠送次数'
|
||||
},
|
||||
{
|
||||
field: 'state',
|
||||
title: '状态',
|
||||
formatter: function(value, row, index) {
|
||||
return $.table.selectDictLabel(STATEDatas, value);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'availablenumber',
|
||||
title: '可用次数'
|
||||
},
|
||||
{
|
||||
field: 'checkingdate',
|
||||
title: '账务日期',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'phone',
|
||||
title: '手机号'
|
||||
},
|
||||
{
|
||||
field: 'tasktype',
|
||||
title: '请求类型',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'vstate',
|
||||
title: '身份认证状态'
|
||||
},
|
||||
{
|
||||
field: 'ulevel',
|
||||
title: '用户等级'
|
||||
},
|
||||
{
|
||||
field: 'source',
|
||||
title: '请求来源'
|
||||
},
|
||||
{
|
||||
field: 'isspecialflag',
|
||||
title: '是否白名单'
|
||||
},
|
||||
{
|
||||
field: 'requestflag',
|
||||
title: '请求标识',
|
||||
visible: false
|
||||
},
|
||||
// {
|
||||
// title: '操作',
|
||||
// align: 'center',
|
||||
// formatter: function(value, row, index) {
|
||||
// var actions = [];
|
||||
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.userid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.userid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||
// return actions.join('');
|
||||
// }
|
||||
// }
|
||||
]
|
||||
};
|
||||
$.table.init(options);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('新增活动次数记录信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-DrawTaskNotify-add">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">业务主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKNOTIFYID" class="form-control" type="text" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">任务流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="TYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ADDNUMBER" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="STATE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">可用次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AVAILABLENUMBER" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">手机号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PHONE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">身份认证状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="VSTATE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户等级:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ULEVEL" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">请求来源:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="SOURCE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">是否白名单:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ISSPECIALFLAG" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/DrawTaskNotify"
|
||||
$("#form-DrawTaskNotify-add").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/add", $('#form-DrawTaskNotify-add').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('修改活动次数记录信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-DrawTaskNotify-edit" th:object="${drawTaskNotify}">
|
||||
<input name="USERID" th:field="*{USERID}" type="hidden">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label is-required">业务主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKNOTIFYID" th:field="*{TASKNOTIFYID}" class="form-control" type="text" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" th:field="*{DRAWCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">任务流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKID" th:field="*{TASKID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="TYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ADDNUMBER" th:field="*{ADDNUMBER}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="STATE" th:field="*{STATE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" th:value="${#dates.format(drawTaskNotify.CREATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" th:value="${#dates.format(drawTaskNotify.LASTUPDATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">可用次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AVAILABLENUMBER" th:field="*{AVAILABLENUMBER}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">手机号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PHONE" th:field="*{PHONE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">身份认证状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="VSTATE" th:field="*{VSTATE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户等级:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ULEVEL" th:field="*{ULEVEL}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">请求来源:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="SOURCE" th:field="*{SOURCE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">是否白名单:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="ISSPECIALFLAG" th:field="*{ISSPECIALFLAG}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/DrawTaskNotify";
|
||||
$("#form-DrawTaskNotify-edit").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/edit", $('#form-DrawTaskNotify-edit').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,195 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('新增记录发奖信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-record-add">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PRIZECODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖记录标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWRECORDID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="AWARDTIME" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖结果:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AWARDRESULT" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">错误码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="RETURNCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">错误信息:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="RETURNMESSAGE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">手机号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PHONE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">地址:</label>
|
||||
<div class="col-sm-8">
|
||||
<textarea name="ADDRESS" class="form-control"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户名:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERNAME" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWTRANSEQNO" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AWARDTRANSEQNO" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品等级:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PRIZELEVEL" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="PRIZETYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">商户号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="MERCHANTCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">商户系统号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="MERCHANTSYSCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">渠道:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CHANNEL" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">业务领域:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="BUSINESSAREA" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">城市:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CITY" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">扩展:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="EXTID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/award/record"
|
||||
$("#form-record-add").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/add", $('#form-record-add').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='AWARDTIME']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,196 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('修改记录发奖信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-record-edit" th:object="${drawAwardRecord}">
|
||||
<input name="AWARDRECORDID" th:field="*{AWARDRECORDID}" type="hidden">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" th:field="*{DRAWCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PRIZECODE" th:field="*{PRIZECODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERID" th:field="*{USERID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖记录标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWRECORDID" th:field="*{DRAWRECORDID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="AWARDTIME" th:value="${#dates.format(drawAwardRecord.AWARDTIME, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖结果:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AWARDRESULT" th:field="*{AWARDRESULT}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">错误码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="RETURNCODE" th:field="*{RETURNCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">错误信息:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="RETURNMESSAGE" th:field="*{RETURNMESSAGE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">手机号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PHONE" th:field="*{PHONE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">地址:</label>
|
||||
<div class="col-sm-8">
|
||||
<textarea name="ADDRESS" class="form-control">[[*{ADDRESS}]]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户名:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERNAME" th:field="*{USERNAME}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" th:value="${#dates.format(drawAwardRecord.CREATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" th:value="${#dates.format(drawAwardRecord.LASTUPDATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">抽奖流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWTRANSEQNO" th:field="*{DRAWTRANSEQNO}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">发奖流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="AWARDTRANSEQNO" th:field="*{AWARDTRANSEQNO}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品等级:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="PRIZELEVEL" th:field="*{PRIZELEVEL}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">奖品类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="PRIZETYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">商户号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="MERCHANTCODE" th:field="*{MERCHANTCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">商户系统号:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="MERCHANTSYSCODE" th:field="*{MERCHANTSYSCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">渠道:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CHANNEL" th:field="*{CHANNEL}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">业务领域:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="BUSINESSAREA" th:field="*{BUSINESSAREA}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">城市:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CITY" th:field="*{CITY}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">扩展:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="EXTID" th:field="*{EXTID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/award/record";
|
||||
$("#form-record-edit").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/edit", $('#form-record-edit').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='AWARDTIME']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,265 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||
<head>
|
||||
<th:block th:include="include :: header('记录发奖信息列表')" />
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="container-div">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<li>
|
||||
<label>活动代码:</label>
|
||||
<input type="text" name="DRAWCODE"/>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>奖品代码:</label>-->
|
||||
<!-- <input type="text" name="PRIZECODE"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>用户标识:</label>-->
|
||||
<!-- <input type="text" name="USERID"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>抽奖记录标识:</label>-->
|
||||
<!-- <input type="text" name="DRAWRECORDID"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<label>发奖时间:</label>
|
||||
<input type="text" class="time-input" placeholder="请选择发奖时间" name="AWARDTIME"/>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>发奖结果:</label>-->
|
||||
<!-- <input type="text" name="AWARDRESULT"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>错误码:</label>-->
|
||||
<!-- <input type="text" name="RETURNCODE"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>错误信息:</label>-->
|
||||
<!-- <input type="text" name="RETURNMESSAGE"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<label>手机号:</label>
|
||||
<input type="text" name="PHONE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>用户名:</label>
|
||||
<input type="text" name="USERNAME"/>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>抽奖流水:</label>-->
|
||||
<!-- <input type="text" name="DRAWTRANSEQNO"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>发奖流水:</label>-->
|
||||
<!-- <input type="text" name="AWARDTRANSEQNO"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<label>奖品等级:</label>
|
||||
<select name="PRIZELEVEL" th:with="type=${@dict.getType('prizeLevel')}">
|
||||
<option value="">所有</option>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>奖品类型:</label>
|
||||
<select name="PRIZETYPE" th:with="type=${@dict.getType('prizeType')}">
|
||||
<option value="">所有</option>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||
</select>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>商户号:</label>-->
|
||||
<!-- <input type="text" name="MERCHANTCODE"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>商户系统号:</label>-->
|
||||
<!-- <input type="text" name="MERCHANTSYSCODE"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>渠道:</label>-->
|
||||
<!-- <input type="text" name="CHANNEL"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>业务领域:</label>-->
|
||||
<!-- <input type="text" name="BUSINESSAREA"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>城市:</label>-->
|
||||
<!-- <input type="text" name="CITY"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>扩展:</label>-->
|
||||
<!-- <input type="text" name="EXTID"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:record:add">-->
|
||||
<!-- <i class="fa fa-plus"></i> 添加-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:record:edit">-->
|
||||
<!-- <i class="fa fa-edit"></i> 修改-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:record:remove">-->
|
||||
<!-- <i class="fa fa-remove"></i> 删除-->
|
||||
<!-- </a>-->
|
||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:record:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-12 select-table table-striped">
|
||||
<table id="bootstrap-table"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('activity:record:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('activity:record:remove')}]];
|
||||
var prefix = ctx + "activity/award/record";
|
||||
var datas = [[${@dict.getType('prizeLevel')}]];
|
||||
var prizetypes = [[${@dict.getType('prizeType')}]];
|
||||
|
||||
$(function() {
|
||||
var options = {
|
||||
url: prefix + "/list",
|
||||
createUrl: prefix + "/add",
|
||||
updateUrl: prefix + "/edit/{id}",
|
||||
removeUrl: prefix + "/remove",
|
||||
exportUrl: prefix + "/export",
|
||||
modalName: "记录发奖信息",
|
||||
columns: [{
|
||||
checkbox: true
|
||||
},
|
||||
{
|
||||
field: 'awardrecordid',
|
||||
title: '主键',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'drawcode',
|
||||
title: '抽奖活动代码'
|
||||
},
|
||||
{
|
||||
field: 'prizecode',
|
||||
title: '奖品代码'
|
||||
},
|
||||
{
|
||||
field: 'userid',
|
||||
title: '用户标识'
|
||||
},
|
||||
{
|
||||
field: 'drawrecordid',
|
||||
title: '抽奖记录标识'
|
||||
},
|
||||
{
|
||||
field: 'awardtime',
|
||||
title: '发奖时间'
|
||||
},
|
||||
{
|
||||
field: 'awardresult',
|
||||
title: '发奖结果'
|
||||
},
|
||||
{
|
||||
field: 'returncode',
|
||||
title: '错误码'
|
||||
},
|
||||
{
|
||||
field: 'returnmessage',
|
||||
title: '错误信息'
|
||||
},
|
||||
{
|
||||
field: 'phone',
|
||||
title: '手机号'
|
||||
},
|
||||
{
|
||||
field: 'address',
|
||||
title: '地址'
|
||||
},
|
||||
{
|
||||
field: 'username',
|
||||
title: '用户名'
|
||||
},
|
||||
// {
|
||||
// field: 'createtimestamp',
|
||||
// title: '创建时间'
|
||||
// },
|
||||
// {
|
||||
// field: 'lastupdatetimestamp',
|
||||
// title: '最后修改时间'
|
||||
// },
|
||||
{
|
||||
field: 'drawtranseqno',
|
||||
title: '抽奖流水'
|
||||
},
|
||||
{
|
||||
field: 'awardtranseqno',
|
||||
title: '发奖流水'
|
||||
},
|
||||
{
|
||||
field: 'prizelevel',
|
||||
title: '奖品等级',
|
||||
formatter: function(value, row, index) {
|
||||
return $.table.selectDictLabel(datas, value);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'prizetype',
|
||||
title: '奖品类型',
|
||||
formatter: function(value, row, index) {
|
||||
return $.table.selectDictLabel(prizetypes, value);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'merchantcode',
|
||||
title: '商户号'
|
||||
},
|
||||
{
|
||||
field: 'merchantsyscode',
|
||||
title: '商户系统号'
|
||||
},
|
||||
{
|
||||
field: 'channel',
|
||||
title: '渠道'
|
||||
},
|
||||
{
|
||||
field: 'businessarea',
|
||||
title: '业务领域'
|
||||
},
|
||||
{
|
||||
field: 'city',
|
||||
title: '城市'
|
||||
},
|
||||
{
|
||||
field: 'extid',
|
||||
title: '扩展'
|
||||
},
|
||||
// {
|
||||
// title: '操作',
|
||||
// align: 'center',
|
||||
// formatter: function(value, row, index) {
|
||||
// var actions = [];
|
||||
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.awardrecordid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.awardrecordid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||
// return actions.join('');
|
||||
// }
|
||||
// }
|
||||
]
|
||||
};
|
||||
$.table.init(options);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,114 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('新增抽奖次数消费信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-consume-add">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动次数记录主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKNOTIFYID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">任务流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="TYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CONSUMENUMBER" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TRANSEQNO" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TRADEORDERID" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="STATE" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/consume"
|
||||
$("#form-consume-add").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/add", $('#form-consume-add').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,158 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||
<head>
|
||||
<th:block th:include="include :: header('抽奖次数消费信息列表')" />
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="container-div">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<li>
|
||||
<label>活动代码:</label>
|
||||
<input type="text" name="DRAWCODE"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>任务流水:</label>
|
||||
<input type="text" name="TASKID"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>用户标识:</label>
|
||||
<input type="text" name="USERID"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>赠送次数类型:</label>
|
||||
<select name="TYPE">
|
||||
<option value="">所有</option>
|
||||
<option value="-1">代码生成请选择字典属性</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>使用次数:</label>
|
||||
<input type="text" name="CONSUMENUMBER"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>使用流水:</label>
|
||||
<input type="text" name="TRANSEQNO"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>使用主键:</label>
|
||||
<input type="text" name="TRADEORDERID"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>状态:</label>
|
||||
<input type="text" name="STATE"/>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:consume:add">-->
|
||||
<!-- <i class="fa fa-plus"></i> 添加-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:consume:edit">-->
|
||||
<!-- <i class="fa fa-edit"></i> 修改-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:consume:remove">-->
|
||||
<!-- <i class="fa fa-remove"></i> 删除-->
|
||||
<!-- </a>-->
|
||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:consume:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-12 select-table table-striped">
|
||||
<table id="bootstrap-table"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('activity:consume:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('activity:consume:remove')}]];
|
||||
var prefix = ctx + "activity/consume";
|
||||
|
||||
$(function() {
|
||||
var options = {
|
||||
url: prefix + "/list",
|
||||
createUrl: prefix + "/add",
|
||||
updateUrl: prefix + "/edit/{id}",
|
||||
removeUrl: prefix + "/remove",
|
||||
exportUrl: prefix + "/export",
|
||||
modalName: "抽奖次数消费信息",
|
||||
columns: [{
|
||||
checkbox: true
|
||||
},
|
||||
{
|
||||
field: 'taskconsumeid',
|
||||
title: '业务主键',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'tasknotifyid',
|
||||
title: '活动次数记录主键'
|
||||
},
|
||||
{
|
||||
field: 'drawcode',
|
||||
title: '活动代码'
|
||||
},
|
||||
{
|
||||
field: 'taskid',
|
||||
title: '任务流水'
|
||||
},
|
||||
{
|
||||
field: 'userid',
|
||||
title: '用户标识'
|
||||
},
|
||||
{
|
||||
field: 'type',
|
||||
title: '赠送次数类型'
|
||||
},
|
||||
{
|
||||
field: 'consumenumber',
|
||||
title: '使用次数'
|
||||
},
|
||||
{
|
||||
field: 'transeqno',
|
||||
title: '使用流水'
|
||||
},
|
||||
{
|
||||
field: 'tradeorderid',
|
||||
title: '使用主键'
|
||||
},
|
||||
{
|
||||
field: 'state',
|
||||
title: '状态'
|
||||
},
|
||||
// {
|
||||
// field: 'createtimestamp',
|
||||
// title: '创建时间'
|
||||
// },
|
||||
// {
|
||||
// field: 'lastupdatetimestamp',
|
||||
// title: '最后修改时间'
|
||||
// },
|
||||
// {
|
||||
// title: '操作',
|
||||
// align: 'center',
|
||||
// formatter: function(value, row, index) {
|
||||
// var actions = [];
|
||||
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.taskconsumeid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.taskconsumeid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||
// return actions.join('');
|
||||
// }
|
||||
// }
|
||||
]
|
||||
};
|
||||
$.table.init(options);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('修改抽奖次数消费信息')" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-consume-edit" th:object="${drawTaskConsume}">
|
||||
<input name="TASKCONSUMEID" th:field="*{TASKCONSUMEID}" type="hidden">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动次数记录主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKNOTIFYID" th:field="*{TASKNOTIFYID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">活动代码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="DRAWCODE" th:field="*{DRAWCODE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">任务流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TASKID" th:field="*{TASKID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">用户标识:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERID" th:field="*{USERID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">赠送次数类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="TYPE" class="form-control m-b">
|
||||
<option value="">所有</option>
|
||||
</select>
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用次数:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="CONSUMENUMBER" th:field="*{CONSUMENUMBER}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用流水:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TRANSEQNO" th:field="*{TRANSEQNO}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">使用主键:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="TRADEORDERID" th:field="*{TRADEORDERID}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="STATE" th:field="*{STATE}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">创建时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="CREATETIMESTAMP" th:value="${#dates.format(drawTaskConsume.CREATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">最后修改时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="LASTUPDATETIMESTAMP" th:value="${#dates.format(drawTaskConsume.LASTUPDATETIMESTAMP, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: datetimepicker-js" />
|
||||
<script th:inline="javascript">
|
||||
var prefix = ctx + "activity/consume";
|
||||
$("#form-consume-edit").validate({
|
||||
focusCleanup: true
|
||||
});
|
||||
|
||||
function submitHandler() {
|
||||
if ($.validate.form()) {
|
||||
$.operate.save(prefix + "/edit", $('#form-consume-edit').serialize());
|
||||
}
|
||||
}
|
||||
|
||||
$("input[name='CREATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='LASTUPDATETIMESTAMP']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -87,15 +87,15 @@
|
|||
</div>
|
||||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:record:add">
|
||||
<i class="fa fa-plus"></i> 添加
|
||||
</a>
|
||||
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:record:edit">
|
||||
<i class="fa fa-edit"></i> 修改
|
||||
</a>
|
||||
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:record:remove">
|
||||
<i class="fa fa-remove"></i> 删除
|
||||
</a>
|
||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:record:add">-->
|
||||
<!-- <i class="fa fa-plus"></i> 添加-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:record:edit">-->
|
||||
<!-- <i class="fa fa-edit"></i> 修改-->
|
||||
<!-- </a>-->
|
||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:record:remove">-->
|
||||
<!-- <i class="fa fa-remove"></i> 删除-->
|
||||
<!-- </a>-->
|
||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:record:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
|
|
@ -195,16 +195,17 @@
|
|||
field: 'extarea',
|
||||
title: '扩展域'
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
align: 'center',
|
||||
formatter: function(value, row, index) {
|
||||
var actions = [];
|
||||
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.drawrecordid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.drawrecordid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||
return actions.join('');
|
||||
}
|
||||
}]
|
||||
// {
|
||||
// title: '操作',
|
||||
// align: 'center',
|
||||
// formatter: function(value, row, index) {
|
||||
// var actions = [];
|
||||
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.drawrecordid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.drawrecordid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||
// return actions.join('');
|
||||
// }
|
||||
// }
|
||||
]
|
||||
};
|
||||
$.table.init(options);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue