|
|
@@ -120,6 +120,9 @@ public class MachineManageAction implements IMINAction {
|
|
|
/**生成指定机器指定行列的货道*/
|
|
|
public final static String ADD_PRO_EQU_REL = "addProEquRelLineRow";
|
|
|
|
|
|
+ /**查询商户关联页面*/
|
|
|
+ public final static String QUERY_FUNCTION = "queryFunction";
|
|
|
+
|
|
|
private boolean contains;
|
|
|
|
|
|
|
|
|
@@ -1101,6 +1104,7 @@ public class MachineManageAction implements IMINAction {
|
|
|
pro.setPayeeNo(payeeNo);
|
|
|
pro.setCreditChannel(creditChannel);
|
|
|
pro.setPayment(payment);
|
|
|
+ pro.setVersionType(versionType);
|
|
|
pro.setPaymentType(paymentType);
|
|
|
pro.setExchangeRate(exchangeRate);
|
|
|
pro.setSupportBalance(supportBalance);
|
|
|
@@ -1495,4 +1499,32 @@ public class MachineManageAction implements IMINAction {
|
|
|
Service.lookup(ILogService.class).logging(session, logInfo);*/
|
|
|
return res;
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 查询设备中商品
|
|
|
+ *
|
|
|
+ * @param session
|
|
|
+ * @return
|
|
|
+ * @throws MINBusinessException
|
|
|
+ */
|
|
|
+ @MINAction(value = QUERY_FUNCTION)
|
|
|
+ public MINActionResult queryFunction(
|
|
|
+ @MINParam(key = "branchId") String branchId,
|
|
|
+ MINSession session
|
|
|
+ ) throws MINBusinessException {
|
|
|
+
|
|
|
+ MINActionResult res = new MINActionResult();
|
|
|
+
|
|
|
+ User user = session.getUser();
|
|
|
+ //渠道
|
|
|
+ String channel = user.getChannel();
|
|
|
+ // 查询条件
|
|
|
+ Map<String, String> map = new HashMap<String, String>();
|
|
|
+ map.put("branchId", branchId);
|
|
|
+ List<Map<String, Object>> list = Service.lookup(IMINDataBaseService.class)
|
|
|
+ .getMybatisMapper(MachineManageMapper.class)
|
|
|
+ .queryFunction(map);
|
|
|
+ //传递数据
|
|
|
+ res.set(IMINBusinessConstant.F_PAGING_LAY, list);
|
|
|
+ return res;
|
|
|
+ }
|
|
|
}
|