BUG修改

This commit is contained in:
xu_lw
2019-08-26 17:04:09 +08:00
parent 9e4a2c2af6
commit 12a45ff692
7 changed files with 15 additions and 10 deletions
@@ -29,7 +29,7 @@ public class BuiConfigUpdateAction extends BaseAction {
*
* @param bizCtx 上下文
* @param reqBO 请求对象
* @return
* @returnBuiConfigUpdateReqBO
* @throws YGException
*/
public ResultT execute(YGBizMessageContext bizCtx, BuiConfigUpdateReqBO reqBO) throws YGException {
@@ -36,7 +36,7 @@ public class BuiMenuDeleteAction extends BaseAction {
* @return
* @throws YGException
*/
public ResultT delete(YGBizMessageContext bizCtx, BuiMenuDeleteReqBO reqBO) throws YGException {
public ResultT execute(YGBizMessageContext bizCtx, BuiMenuDeleteReqBO reqBO) throws YGException {
YGBizMessage bizMsg = bizCtx.getCurrentMsg();
Logger msgLog = YGLogger.getLogger(bizMsg);
msgLog.info("delete, reqBO=" + JSONObject.toJSON(reqBO));
@@ -67,7 +67,6 @@ public class BuiRoleListAction extends BaseAction {
BuiRoleDO entity = new BuiRoleDO();
BeanUtils.copyProperties(reqBO, entity);
YGPageEntity pageEntity = YGPageEntity.createPageEntity(root);
pageEntity.setTot_rec_num(NumberUtils.toInt(root.getData("totalrows")));
@@ -31,7 +31,7 @@ public class BuiConfigDO extends BaseDO {
/**
* 状态 0:隐藏 1:显示
*/
private Long status;
private String status;
/**
* 备注
@@ -67,12 +67,12 @@ public class BuiConfigDO extends BaseDO {
this.paramValue = paramValue == null ? "" : paramValue.trim();
}
public Long getStatus() {
public String getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status == null ? Long.valueOf(0) : status;
public void setStatus(String status) {
this.status = status == null ? "" : status;
}
public String getRemark() {
@@ -34,4 +34,10 @@ public class BuiConfigUpdateReqBO {
@ECPDict(required = true, length = 500, message = "remark值不合法")
private String remark;
/**
* 状态
*/
@ECPDict(required = true, length = 1, message = "status值不合法")
private String status;
}
@@ -24,7 +24,7 @@ public class BuiRoleAddReqBO {
/**
* 菜单id列表
*/
@ECPDict(required = true, length = 64, message = "menuidList值不合法")
@ECPDict(required = true, message = "menuidList值不合法")
private String menuidList;
}
@@ -9,13 +9,13 @@
<!-- 分页查询id后缀必须为Page -->
<select id="selectPage" resultType="com.murong.ecp.netpay.mbu.web.pub.dal.entity.BuiConfigDO">
select <include refid="base_column_list"/>
from T_BUI_CONFIG order by id
from T_BUI_CONFIG where param_key like '%%${paramKey}%%' order by id
</select>
<!-- 游标后缀必须为Cursor -->
<select id="selectCursor" resultType="com.murong.ecp.netpay.mbu.web.pub.dal.entity.BuiConfigDO">
select <include refid="base_column_list"/>
from T_BUI_CONFIG order by id
from T_BUI_CONFIG order by id
</select>
<!-- 查询id后缀必须为ResultHandler -->