智慧农业后台管理
guoshilong
2022-11-08 72b971c98c46531064d74b68fc8fe8864ed0b544
src/main/java/org/springblade/modules/soldrecord/mapper/SoldrecordMapper.xml
@@ -70,6 +70,7 @@
        st.specs1,
        st.amount1,
        st.create_time,
        str.time1,
        f.real_name as username,
        stf.factory_name AS factoryName,
        stf.type as stype,
@@ -103,6 +104,7 @@
        <if test="soldrecord.deptId != null and soldrecord.deptId !=''">
            and str.dept_id = #{soldrecord.deptId}
        </if>
        ORDER BY st.create_time DESC
    </select>
    <update id="updateSold">