rev:出库单格式修改后导致分配的问题
This commit is contained in:
@@ -57,6 +57,12 @@ public class OutStorageTask extends AbstractTask {
|
|||||||
String target_point = from.getString("target_point");
|
String target_point = from.getString("target_point");
|
||||||
//通过全局变量获取目标位置
|
//通过全局变量获取目标位置
|
||||||
String product_area = from.getString("product_area");
|
String product_area = from.getString("product_area");
|
||||||
|
if (StringUtils.isEmpty(product_area)){
|
||||||
|
JSONObject formData = from.getJSONObject("form_data");
|
||||||
|
if (!StringUtils.isEmpty(formData.getString("product_area"))){
|
||||||
|
product_area = formData.getString("product_area");
|
||||||
|
}
|
||||||
|
}
|
||||||
if (StringUtils.isNotEmpty(product_area)){
|
if (StringUtils.isNotEmpty(product_area)){
|
||||||
String configTarget;
|
String configTarget;
|
||||||
if (vehicle_code.contains("T")){
|
if (vehicle_code.contains("T")){
|
||||||
|
|||||||
@@ -42,6 +42,6 @@
|
|||||||
and st_ivt_iostorinv.source_form_code = #{query.source_form_code}
|
and st_ivt_iostorinv.source_form_code = #{query.source_form_code}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
GROUP BY st_ivt_iostorinv.id
|
GROUP BY st_ivt_iostorinv.id order by st_ivt_iostorinv.id desc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user