|
@@ -73,6 +73,7 @@ public class ProductManageAction implements IMINAction {
|
|
@MINParam(key = "categoryId") String categoryId,
|
|
@MINParam(key = "categoryId") String categoryId,
|
|
@MINParam(key = "categoryName") String categoryName,
|
|
@MINParam(key = "categoryName") String categoryName,
|
|
@MINParam(key = "createUser") String createUser,
|
|
@MINParam(key = "createUser") String createUser,
|
|
|
|
+ @MINParam(key = "flag") String flag,
|
|
@MINParam(key = "page", defaultValue = "1") int page,
|
|
@MINParam(key = "page", defaultValue = "1") int page,
|
|
@MINParam(key = "limit", defaultValue = "3") int limit,
|
|
@MINParam(key = "limit", defaultValue = "3") int limit,
|
|
MINSession session) throws MINBusinessException {
|
|
MINSession session) throws MINBusinessException {
|
|
@@ -89,14 +90,12 @@ public class ProductManageAction implements IMINAction {
|
|
map.put("createUser",createUser);
|
|
map.put("createUser",createUser);
|
|
map.put("channel", user.getChannel());//渠道号
|
|
map.put("channel", user.getChannel());//渠道号
|
|
map.put("category", categoryId);//分类
|
|
map.put("category", categoryId);//分类
|
|
- //验证操作员权限
|
|
|
|
-// if("00".equals(user.getIdentity())){
|
|
|
|
- map.put("userId",user.getId());
|
|
|
|
-// map.put("roId","10000001");
|
|
|
|
-// }
|
|
|
|
-/* if("10000002".equals(user.getRoleId())){
|
|
|
|
|
|
+ if (!CommonUtil.isEmpty(flag)){
|
|
|
|
+ map.put("branchId",user.getBranchId());
|
|
|
|
+ }else{
|
|
map.put("userId",user.getId());
|
|
map.put("userId",user.getId());
|
|
- }*/
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
//分页
|
|
//分页
|
|
MINRowBounds rows = new MINRowBounds(page, limit);
|
|
MINRowBounds rows = new MINRowBounds(page, limit);
|
|
//执行查询
|
|
//执行查询
|