Ver código fonte

游戏商品

xubh 5 anos atrás
pai
commit
faba1fd9f0

+ 2 - 0
src/main/java/com/minpay/shouhuo/equmentaction/MachineManageAction.java

@@ -65,6 +65,7 @@ public class MachineManageAction implements IMINAction {
     @MINAction(value = QUERY_PROEQUREL)
     public MINActionResult queryProEquRel(
             @MINParam(key = "equId") String equId,
+            @MINParam(key = "gameType") String gameType,
             MINSession session
     ) throws MINBusinessException {
 
@@ -77,6 +78,7 @@ public class MachineManageAction implements IMINAction {
         Map<String, String> map = new HashMap<String, String>();
         map.put("channel", "V01");
         map.put("equId", equId);
+        map.put("gameType", gameType);
         List<Map<String, Object>> list = Service.lookup(IMINDataBaseService.class)
                 .getMybatisMapper(MachineManageMapper.class)
                 .queryProEquRel(map);

+ 3 - 0
src/main/resources/com/minpay/db/table/own/mapper/MachineManageMapper.xml

@@ -106,6 +106,9 @@
 		<if test="perId != null and perId != ''">
 			AND rel.VCI_ID = #{perId, jdbcType = VARCHAR}
 		</if>
+		<if test="gameType != null and gameType != ''">
+			AND rel.VCI_GAME_TYPE = #{gameType, jdbcType = VARCHAR}
+		</if>
 		ORDER BY rel.VCI_CARGO_WAY_ROW DESC, rel.VCI_CARGO_WAY_LINE DESC
 	</select>
 	<select id="queryProductz" resultType="hashmap" parameterType="java.util.Map">