质量问题修改

master
zhaoxiaolin 5 months ago
parent 126c1ec1f3
commit a7b2989873

@ -114,6 +114,24 @@ public class QcStaticTable extends BaseEntity {
private BigDecimal downDiff;
private List<String> columns1;
private List<String> columns2;
private String incomeTimeStart;
private String incomeTimeEnd;
public String getIncomeTimeStart() {
return incomeTimeStart;
}
public void setIncomeTimeStart(String incomeTimeStart) {
this.incomeTimeStart = incomeTimeStart;
}
public String getIncomeTimeEnd() {
return incomeTimeEnd;
}
public void setIncomeTimeEnd(String incomeTimeEnd) {
this.incomeTimeEnd = incomeTimeEnd;
}
public Double getNoOkBatchRateVal() {
return noOkBatchRateVal;

@ -201,8 +201,9 @@
<if test="orderNo != null ">and qct.check_no like concat('%',#{orderNo},'%')</if>
<if test="materialCode != null ">and qct.material_code like concat('%',#{materialCode},'%')</if>
<if test="incomeBatchNo != null ">and qct.income_batch_no like concat('%',#{incomeBatchNo},'%')</if>
<if test="incomeTimeStr != null ">and CONVERT(varchar(10),pow.product_date, 120) = #{incomeTimeStr}
</if>
<if test="incomeTimeStr != null ">and CONVERT(varchar(10),pow.product_date, 120) = #{incomeTimeStr}</if>
<if test="incomeTimeStart != null ">and CONVERT(varchar(30),qct.income_time, 120) >= #{incomeTimeStart}</if>
<if test="incomeTimeEnd != null ">and #{incomeTimeEnd} > CONVERT(varchar(30),qct.income_time, 120)</if>
order by pow.product_date desc
</select>
<select id="getXJProjects" resultType="com.op.quality.domain.QcStaticTable">

@ -65,6 +65,7 @@
<result property="supportPlate" column="support_plate"/>
<result property="other" column="other"/>
<result property="reportRate" column="report_rate"/>
<result property="mvgr5" column="mvgr5"/>
<result property="mvgr5Nm" column="mvgr5_nm"/>
<result property="palletNum" column="palletNum"/>
<result property="warehouseCycle" column="warehouse_cycle"/>
@ -74,7 +75,12 @@
</resultMap>
<sql id="selectBaseProductVo">
select product_id, product_code, product_desc_zh, product_model,product_desc_en, rule_code, old_product_code, parts_product_code, sku_barcode, length, width, height, gross_weight, net_weight, tare_weight, volume, unit_price, product_group, product_group_name, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, create_by, create_time, update_by, update_time, factory_code, active_flag, sync_flag, primary_uom, del_flag, bstme, basic_order, conv_order, ausme, basic_issue, conv_issue, append_flag, append_percent, mtart, report_rate from base_product
select product_id, product_code, product_desc_zh, product_model,product_desc_en, rule_code, old_product_code,
parts_product_code, sku_barcode, length, width, height, gross_weight, net_weight, tare_weight, volume,
unit_price, product_group, product_group_name, user_defined1, user_defined2, user_defined3, user_defined4,
user_defined5, user_defined6, create_by, create_time, update_by, update_time, factory_code, active_flag,
sync_flag, primary_uom, del_flag, bstme, basic_order, conv_order, ausme, basic_issue, conv_issue, append_flag,
append_percent, mtart, report_rate,mvgr5 from base_product
</sql>
<select id="selectBaseProductList" parameterType="BaseProduct" resultMap="BaseProductResult">
@ -118,6 +124,7 @@
<if test="appendPercent != null and appendPercent != ''">and append_percent = #{appendPercent}</if>
<if test="mtart != null and mtart != ''">and mtart = #{mtart}</if>
<if test="reportRate != null and reportRate != ''">and report_rate = #{reportRate}</if>
<if test="mvgr5 != null and mvgr5 != ''">and mvgr5 like concat('%', #{mvgr5},'%') </if>
and del_flag = '0'
</where>
order by product_code asc

Loading…
Cancel
Save